-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Executable error should be from Executable not Docker installation check #2146
Comments
Please follow the issue template provided. More specifically, update the original comment for this issue by adding a link to the required debug.md gist which includes debugging information that answers our most commonly asked questions. Thank you. |
The problem is definitely from @szeck87 I think this Would you be able to try out the following change: init: () ->
super()
.then(() =>
return @
)
.catch((error) =>
return Promise.reject(error) if not @docker?
return Promise.resolve(error) # <--- CHANGE HERE
)
.then((errorOrThis) => # <----- CHANGE HERE
shouldTryWithDocker = not @isInstalled and @docker?
@verbose("Executable shouldTryWithDocker", shouldTryWithDocker, @isInstalled, @docker?)
if shouldTryWithDocker
return @initDocker().catch(() => Promise.reject(errorOrThis)) # <---- CHANGE HERE
return @
)
.catch((error) =>
if not @.required
@verbose("Not required")
@
else
Promise.reject(error)
) Please and thank you 😃 . I think this will fix it! |
Description
Executable errors are not being displayed in the UI. Originated from #2145.
Input Before Beautification
This is what the code looked like before:
N/A
Expected Output
The beautified code should have looked like this:
N/A
Actual Output
The beautified code actually looked like this:
N/A
Steps to Reproduce
Atom Beautify: Beautify Editor
Result: Shows an error "could not find Docker"
Expected: Should show an error about the executable not being able to run instead or in addition to
Debug
Here is a link to the
debug.md
Gist:Checklist
I have:
so I know this is not a duplicate issue
Atom Beautify: Help Debug Editor
command in Atom and added link fordebug.md
Gist to this issueThe text was updated successfully, but these errors were encountered: