Permalink
Browse files

Node old versions don't like that syntax

  • Loading branch information...
1 parent a99a021 commit ec6b86124b89d2c7dbea97273553def0faff74c9 @leehambley leehambley committed Mar 19, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 node.rb
View
@@ -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

0 comments on commit ec6b861

Please sign in to comment.