Fix for unnecessary fat arrow warning from linter in executable beautifier
This commit is contained in:
parent
6f1bd1b225
commit
1035da2350
|
@ -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