mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
💄
This commit is contained in:
@@ -14,7 +14,8 @@ module.exports =
|
||||
readObjectAsync: (path, done) ->
|
||||
fs.readFile path, 'utf8', (err, contents) =>
|
||||
return done(err) if err?
|
||||
try done(null, @parseObject(path, contents))
|
||||
try
|
||||
done(null, @parseObject(path, contents))
|
||||
catch err
|
||||
done(err)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user