lib/warp/dir/command/install.rb in warp-dir-1.1.1 vs lib/warp/dir/command/install.rb in warp-dir-1.1.2
- old
+ new
@@ -30,10 +30,10 @@
super(*args)
end
def run(*args)
self.shell_init_files = config[:dotfile].split(',') if config[:dotfile]
- self.shell_init_files.each { |dotfile| append_wrapper_to(dotfile) }
+ self.shell_init_files.any? { |dotfile| append_wrapper_to(dotfile) }
local_existing = self.existing
local_installed = self.installed
local_shell_files = self.shell_init_files
if installed.empty?
if existing.empty?