Skip to content

Commit

Permalink
Revert "Handle asynchronous save"
Browse files Browse the repository at this point in the history
Pushed by mistake
This reverts commit 4eeeede.
  • Loading branch information
melted committed Jun 16, 2017
1 parent 4eeeede commit 011cd6c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions lib/idris-controller.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,10 @@ class IdrisController
null

saveFile: (editor) ->
waitsForPromise ->
if editor.getURI()
editor.save()
else
atom.workspace.saveActivePaneItemAs()
if editor.getURI()
editor.save()
else
atom.workspace.saveActivePaneItemAs()

typecheckFile: (event) =>
editor = @getEditor()
Expand Down

0 comments on commit 011cd6c

Please sign in to comment.