mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00:00
Add readFile to '/file.js'
Thanks Hagen.
This commit is contained in:
parent
a02ca7a590
commit
8549994c4b
@ -12,6 +12,8 @@ function debugObject (obj) {
|
||||
}
|
||||
}
|
||||
|
||||
exports.readFile = node.fs.cat;
|
||||
|
||||
exports.writeFile = function (filename, data, encoding) {
|
||||
var promise = new node.Promise();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user