From afa43d71281b2c88937a2a0b4a1ce19e0949c5a5 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Thu, 29 Nov 2012 06:42:08 -0500 Subject: [PATCH] turn off the directory opening thing, it's just annoying --- lib/cuke-pack/support/step_writer.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/cuke-pack/support/step_writer.rb b/lib/cuke-pack/support/step_writer.rb index 39a09f8..4b01213 100644 --- a/lib/cuke-pack/support/step_writer.rb +++ b/lib/cuke-pack/support/step_writer.rb @@ -1,13 +1,2 @@ require 'cucumber/step_writer' -Cucumber::StepWriter.after_write do |dir| - %w{open xdg-open}.each do |cmd| - %x{which #{cmd}} - - if $?.exitstatus - system %{#{cmd} #{dir}} - break - end - end -end -