Skip to content

Commit 7027e5f

Browse files
committed
Version bump
1 parent b057d76 commit 7027e5f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

node.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Node.php v0.1
4+
* Node.php v0.2
55
* (c) 2014 Jerzy Głowacki
66
* MIT License
77
*/
@@ -12,7 +12,7 @@
1212

1313
define("ADMIN_MODE", false); //set to true to allow unsafe operations, set back to false when finished
1414

15-
define("NODE_VER", "v0.10.33");
15+
define("NODE_VER", "v5.1.0");
1616

1717
define("NODE_FILE", "node-" . NODE_VER . "-linux-x86.tar.gz");
1818

@@ -97,7 +97,7 @@ function node_npm($cmd) {
9797
return;
9898
}
9999
$cmd = escapeshellcmd(NODE_DIR . "/bin/npm $cmd");
100-
echo "Running: npm $cmd\n";
100+
echo "Running: $cmd\n";
101101
$ret = -1;
102102
passthru($cmd, $ret);
103103
echo $ret === 0 ? "Done.\n" : "Failed. Error: $ret\n";

0 commit comments

Comments
 (0)