From f10c08bf945beffaf0c34247ec67e9a6fe43235f Mon Sep 17 00:00:00 2001 From: John Bintz Date: Mon, 21 Apr 2014 14:37:04 -0400 Subject: [PATCH] oops --- lib/cuke-pack/support/in_progress.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/cuke-pack/support/in_progress.rb b/lib/cuke-pack/support/in_progress.rb index 96be5bb..5a1d198 100644 --- a/lib/cuke-pack/support/in_progress.rb +++ b/lib/cuke-pack/support/in_progress.rb @@ -17,9 +17,7 @@ After do |s| end if source.respond_to?(:feature) - feature = source.feature - - in_progress << feature.file_colon_line.gsub(/\:\d+/, ":" + feature.line.to_s) + in_progress << source.feature.file_colon_line.gsub(/\:\d+/, ":" + source.line.to_s) end rescue => e puts e.message