Skip to content
Browse files

Updated for latest fs-promise

  • Loading branch information...
1 parent c33f56b commit 58b772e7edd1954bf03652d07260619f6a774c5e @kriszyp committed
Showing with 3 additions and 3 deletions.
  1. +2 −2 engines/rhino/lib/fs-promise.js
  2. +1 −1 lib/settings.js
View
4 engines/rhino/lib/fs-promise.js
@@ -1,4 +1,4 @@
var File = require("file");
-exports.readFileSync = File.read;
-exports.writeFileSync = File.write;
+exports.readFileSync = exports.read = File.read;
+exports.writeFileSync = exports.write = File.write;
exports.statSync = File.stat;
View
2 lib/settings.js
@@ -1,6 +1,6 @@
var fs = require("fs-promise");
-var settings = JSON.parse(fs.readFileSync("local.json"));
+var settings = JSON.parse(fs.read("local.json"));
for(var i in settings){
exports[i] = settings[i];
}

0 comments on commit 58b772e

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