There was an error while loading. Please reload this page.
1 parent 5a2d9df commit 6c20de1Copy full SHA for 6c20de1
lib/mina/commands.rb
@@ -35,7 +35,7 @@ def empty(stage = :default)
35
end
36
37
def process(path = nil)
38
- if path && queue[stage]
+ if path && !queue[stage].empty?
39
queue[stage].unshift(%{echo "$ cd #{path}"}) if fetch(:verbose)
40
%{(cd #{path} && #{queue[stage].join(' && ')} && cd -)}
41
else
0 commit comments