From 91f748f85f1e4bafc05cf1925df2ad8b1ecc92d7 Mon Sep 17 00:00:00 2001 From: Edvin Hultberg Date: Sat, 29 Jul 2017 17:40:59 +0200 Subject: [PATCH] fix indenting --- lib/ex.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ex.coffee b/lib/ex.coffee index 4b13d1a..2923602 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -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}")