-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
[BUG] updateCheck disallow non-interactive setup #563
Comments
closes TryGhost#565, TryGhost#563 - move update check further into the stack behind a "checkVersion" command flag - rewrite checkUpdate class to use UI instace - update tests
Closed by #566 |
Ran into this same issue with the latest release -- Docker official image builds of In digging in the code, I found that this prompt is always enabled for the subcommands which #566 limited it to (regardless of the value of the We do plan to update |
@tianon that’s a fair point - I’ll push a new fix. Sorry for the trouble! |
Thanks @acburdine, you're a hero! ❤️ |
@tianon apologies for the delay - I'll get a version out with this fix later today :) |
closes TryGhost#563 - remove prompt on update-check because it was bad UX & broke docker
closes TryGhost#563 - remove prompt on update-check because it was bad UX & broke docker
closes #563 - remove prompt on update-check because it was bad UX & broke docker
@tianon The new version has been published as 1.4.2. The docker builds will probably break for this release (because the 1.4.1 version still contains the issue), but after fixing it this time the builds shouldn't break again. Sorry for the trouble! |
Amazing, thanks so much @acburdine!! ❤️ ❤️ |
Ghost-CLI/bin/ghost
Line 14 in ff5e4ad
From ghot-cli 1.3.0 on wards, there is no way to proceed with unattended installations (
--no-prompt
) when a newer version of ghos-cli is detected. It could be useful in some circumstances but, under different ones, it should be avoidable.I.E. when trying to install you need to pass
ghost
a lot of parameters if using in a non-interactive waysetup ........
but it becomes interactive becauseinquirer
launch a question after theupdateCheck
. This is not consistent.Related: #525
The text was updated successfully, but these errors were encountered: