disable the directory opening by default
This commit is contained in:
parent
4dbc32d11e
commit
2aed2699f6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue