mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
remove whitespace
This commit is contained in:
@@ -42,7 +42,7 @@ node.dns.createConnection = removed("node.dns.createConnection() has moved. Use
|
||||
|
||||
/**********************************************************************/
|
||||
|
||||
// Module
|
||||
// Module
|
||||
|
||||
var internalModuleCache = {};
|
||||
var extensionCache = {};
|
||||
@@ -351,7 +351,7 @@ process.fs.readFile = function (path, encoding_, callback) {
|
||||
var callback = (typeof(callback_) == 'function' ? callback_ : null);
|
||||
process.fs.open(path, process.O_RDONLY, 0666, function (err, fd) {
|
||||
if (err) {
|
||||
if (callback) callback(err);
|
||||
if (callback) callback(err);
|
||||
} else {
|
||||
readAll(fd, 0, "", encoding, callback);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user