diff options
author | Casey Dahlin <cdahlin@redhat.com> | 2008-10-07 12:44:27 -0400 |
---|---|---|
committer | Casey Dahlin <cdahlin@redhat.com> | 2008-10-07 12:44:27 -0400 |
commit | 0dfefe69374e668a6b720cf6aaaf330aaad69339 (patch) | |
tree | 551d783cbeae74ac870f5a5c2c947b4e13d8e4d8 /state.rb | |
parent | 5cb0be51e428b900c33bbe7dd14767887159be32 (diff) | |
download | upstate-0dfefe69374e668a6b720cf6aaaf330aaad69339.tar.gz upstate-0dfefe69374e668a6b720cf6aaaf330aaad69339.tar.xz upstate-0dfefe69374e668a6b720cf6aaaf330aaad69339.zip |
Fix another missing inject argument
Array#inject had no argument in State#params, again leading to problems when
running against a single-element array.
Diffstat (limited to 'state.rb')
-rw-r--r-- | state.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ class State # Parameters to this state def params @deps.map{ |x| x.params }.inject({}){ |x,y| x.merge y }.merge \ - @holds.map{ |x| x.params }.inject{ |x,y| x.merge y } + @holds.map{ |x| x.params }.inject({}){ |x,y| x.merge y } end # Set this state to untrue without running any falling edge code |