fixed non empty check of emacs path

This commit is contained in:
Jan-Cornelius Molnar 2016-04-10 17:31:49 +02:00
parent e949efa908
commit 55445d66ad
1 changed files with 1 additions and 1 deletions

View File

@ -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)