Merge pull request #2164 from maximumdata/master
Fix for unnecessary fat arrow warning from linter in executable beaut…
This commit is contained in:
commit
a39bbd52cf
|
@ -400,7 +400,7 @@ class HybridExecutable extends Executable
|
||||||
shouldTryWithDocker = not @isInstalled and @docker?
|
shouldTryWithDocker = not @isInstalled and @docker?
|
||||||
@verbose("Executable shouldTryWithDocker", shouldTryWithDocker, @isInstalled, @docker?)
|
@verbose("Executable shouldTryWithDocker", shouldTryWithDocker, @isInstalled, @docker?)
|
||||||
if shouldTryWithDocker
|
if shouldTryWithDocker
|
||||||
return @initDocker().catch(() => Promise.reject(errorOrThis))
|
return @initDocker().catch(() -> Promise.reject(errorOrThis))
|
||||||
return @
|
return @
|
||||||
)
|
)
|
||||||
.catch((error) =>
|
.catch((error) =>
|
||||||
|
|
Loading…
Reference in New Issue