disable the directory opening by default

This commit is contained in:
John Bintz 2012-11-29 06:41:32 -05:00
parent 4dbc32d11e
commit 2aed2699f6
1 changed files with 7 additions and 5 deletions

View File

@ -1,10 +1,12 @@
Cucumber::StepWriter.after_write do |dir|
%w{open xdg-open}.each do |cmd|
%x{which #{cmd}}
if false
%w{open xdg-open}.each do |cmd|
%x{which #{cmd}}
if $?.exitstatus
system %{#{cmd} #{dir}}
break
if $?.exitstatus
system %{#{cmd} #{dir}}
break
end
end
end
end