Skip to content

Commit

Permalink
Node old versions don't like that syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
leehambley committed Mar 19, 2013
1 parent a99a021 commit ec6b861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
end

dep 'npm update' do
met? { eval(shell('npm version'))[:npm].to_i > 1.1 }
meet { shell('npm update npm -g') }
met? { shell('npm --version').to_i > 1.1 }
meet { shell('npm update npm -g') }
end

dep 'node066.src' do
Expand Down

0 comments on commit ec6b861

Please sign in to comment.