mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
6115df6338
- Rename fs.cat to fs.readFile - Move file.write to fs.writeFile - Allow strings for the flag argument to fs.open ("r", "r+", "w", "w+", "a", "a+") - Remove the unused 'File' module / class
2 lines
130 B
JavaScript
2 lines
130 B
JavaScript
throw new Error("The 'file' module has been removed. 'file.read' is now 'fs.readFile', and 'file.write' is now 'fs.writeFile'.");
|