From 55445d66adfef7a28e497aa29834a9b86b9b383e Mon Sep 17 00:00:00 2001 From: Jan-Cornelius Molnar Date: Sun, 10 Apr 2016 17:31:49 +0200 Subject: [PATCH] fixed non empty check of emacs path --- src/beautifiers/fortran-beautifier/index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beautifiers/fortran-beautifier/index.coffee b/src/beautifiers/fortran-beautifier/index.coffee index cd009fe..d5f2c05 100644 --- a/src/beautifiers/fortran-beautifier/index.coffee +++ b/src/beautifiers/fortran-beautifier/index.coffee @@ -33,7 +33,7 @@ module.exports = class FortranBeautifier extends Beautifier tempFile = @tempFile("temp", text) ] - if emacs_path? + if emacs_path @run(emacs_path, args, {ignoreReturnCode: false}) .then(=> @readFile(tempFile)