mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Remove unnecessary fat arrow
This commit is contained in:
@@ -699,7 +699,7 @@ class Config
|
||||
@endTransaction()
|
||||
fn(args...)
|
||||
result = callback()
|
||||
new Promise (resolve, reject) =>
|
||||
new Promise (resolve, reject) ->
|
||||
result.then(endTransaction(resolve)).catch(endTransaction(reject))
|
||||
catch error
|
||||
@endTransaction()
|
||||
|
||||
Reference in New Issue
Block a user