Permalink
Browse files

Fixing "undefined method `[]' for nil:NilClass"

  • Loading branch information...
1 parent 06c2888 commit 536cfd8837342377b3ed8240f66cc84d682a1524 @winton committed Nov 8, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/execache.rb
View
1 lib/execache.rb
@@ -50,6 +50,7 @@ def initialize(yaml)
if cache && cache == '[PENDING]'
pending = true
+ group['result'] = true
elsif !force && !group['force'] && cache
group['result'] = Yajl::Parser.parse(cache)
else

0 comments on commit 536cfd8

Please sign in to comment.