Skip to content

Commit

Permalink
await editor.save
Browse files Browse the repository at this point in the history
  • Loading branch information
onelivesleft committed Aug 2, 2017
1 parent 79fc244 commit dea2dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tabletopsimulator-lua.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ module.exports = TabletopsimulatorLua =
cursors[editor.getPath()] = editor.getCursorBufferPosition()
catch error
try
editor.save()
await editor.save()
catch error

# Read all files into JSON object
Expand Down

0 comments on commit dea2dcd

Please sign in to comment.