Fix for unnecessary fat arrow warning from linter in executable beautifier

This commit is contained in:
Mike Dettmer 2018-06-13 13:58:58 -04:00
parent 6f1bd1b225
commit 1035da2350
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ class HybridExecutable extends Executable
shouldTryWithDocker = not @isInstalled and @docker?
@verbose("Executable shouldTryWithDocker", shouldTryWithDocker, @isInstalled, @docker?)
if shouldTryWithDocker
return @initDocker().catch(() => Promise.reject(errorOrThis))
return @initDocker().catch(() -> Promise.reject(errorOrThis))
return @
)
.catch((error) =>