fix indenting
This commit is contained in:
parent
5301f4a5d4
commit
91f748f85f
1 changed files with 3 additions and 3 deletions
|
|
@ -20,10 +20,10 @@ trySave = (func) ->
|
|||
response = func()
|
||||
|
||||
if response instanceof Promise
|
||||
response.then ->
|
||||
deferred.resolve()
|
||||
else
|
||||
response.then ->
|
||||
deferred.resolve()
|
||||
else
|
||||
deferred.resolve()
|
||||
catch error
|
||||
if error.message.endsWith('is a directory')
|
||||
atom.notifications.addWarning("Unable to save file: #{error.message}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue