Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Node old versions don't like that syntax

  • Loading branch information...
commit ec6b86124b89d2c7dbea97273553def0faff74c9 1 parent a99a021
Lee Hambley authored March 19, 2013

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  node.rb
4  node.rb
@@ -4,8 +4,8 @@
4 4
 end
5 5
 
6 6
 dep 'npm update' do
7  
-  met? { eval(shell('npm version'))[:npm].to_i > 1.1 }
8  
-  meet { shell('npm update npm -g')                  }
  7
+  met? { shell('npm --version').to_i > 1.1 }
  8
+  meet { shell('npm update npm -g')        }
9 9
 end
10 10
 
11 11
 dep 'node066.src' do

0 notes on commit ec6b861

Please sign in to comment.
Something went wrong with that request. Please try again.