Permalink
Browse files

It's unsafe to evaluate Dir.pwd everytime we want to generate a path …

…to the work directory

We be changing dirs and shit
  • Loading branch information...
1 parent 1fd531a commit 3c83069c9aa550da63f8b07791f30ac9fa0059a8 @rtyler committed Sep 3, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/blimpy/cucumber/api.rb
  2. +1 −1 lib/blimpy/cucumber/version.rb
@@ -75,7 +75,7 @@ def nodes
end
def work_dir
- File.join(Dir.pwd, 'tmp', 'cucumber')
+ @work_dir ||= File.join(Dir.pwd, 'tmp', 'cucumber')
end
def manifest_path
@@ -1,5 +1,5 @@
module Blimpy
module Cucumber
- VERSION = "0.0.5"
+ VERSION = "0.0.6"
end
end

0 comments on commit 3c83069

Please sign in to comment.