fix whitespace
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = SafeReader =
|
|||||||
|
|
||||||
readFile: (file, size, encoding, callback = (error, result) ->) ->
|
readFile: (file, size, encoding, callback = (error, result) ->) ->
|
||||||
fs.open file, 'r', (err, fd) ->
|
fs.open file, 'r', (err, fd) ->
|
||||||
return callback() if err? and err.code is 'ENOENT'
|
return callback() if err? and err.code is 'ENOENT'
|
||||||
return callback(err) if err?
|
return callback(err) if err?
|
||||||
|
|
||||||
# safely return always closing the file
|
# safely return always closing the file
|
||||||
|
|||||||
Reference in New Issue
Block a user