cli
cli copied to clipboard
[Bug]: `shopify app deploy` still asking for prompt even though --force flag is specified
Please confirm that you have:
- [x] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
- [x] Reproduced the issue in the latest CLI version.
In which of these areas are you experiencing a problem?
App
Expected behavior
It should not prompt for extenson migration if force flag is specified.
Actual behavior
It tried to prompt, and error out:
╭─ info ───────────────────────────────────────────────────────────────────────╮
│ │
│ Extension migrations can't be undone. │
│ │
│ Your "X" configuration has been updated. Migrating gives you │
│ access to new features and won't impact the end user experience. All │
│ previous extension versions will reflect this change. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ Failed to prompt: │
│ │
│ Migrate "X"? │
│ │
│ This usually happens when running a command non-interactively, for example │
│ in a CI environment, or when piping to or from another process. │
│ │
│ To resolve this, specify the option in the command, or run the command in │
│ an interactive environment such as your local terminal. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
Verbose output
Reproduction steps
Operating System
Github Actions x86 runners
Shopify CLI version (check your project's package.json if you're not sure)
3.68.0
Shell
No response
Node version (run node -v if you're not sure)
No response
What language and version are you using in your application?
No response