Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated for latest changes in Node

  • Loading branch information...
commit 8fb40d102d332f9b713dd2cf62eec4f874dfa54c 1 parent 3b60ae9
@kriszyp kriszyp authored
Showing with 5 additions and 2 deletions.
  1. +3 −0  engines/node/lib/file.js
  2. +2 −2 engines/node/lib/packages.js
View
3  engines/node/lib/file.js
@@ -0,0 +1,3 @@
+var fs = require("fs");
+exports.read = fs.readFileSync;
+exports.write = fs.writeFileSync;
View
4 engines/node/lib/packages.js
@@ -1,3 +1,3 @@
-var posix = require("posix");
+var fs = require("fs");
-exports.root = JSON.parse(posix.cat("local.json").wait());
+exports.root = JSON.parse(fs.readFileSync("local.json"));
Please sign in to comment.
Something went wrong with that request. Please try again.