adapt-cli icon indicating copy to clipboard operation
adapt-cli copied to clipboard

CI script using CLI prompts for user input, causing builds to fail

Open kateharney opened this issue 2 years ago • 0 comments

Subject of the issue/enhancement/features

When specifying a version of a dependency in the adapt.json file, the CLI requires user input to continue with installation if there's a newer compatible version available than the one requested in the adapt.json.

Your environment

  • version of the cli CLI: 3.0.7, Framework: 5.22.3
  • operating system(s) MacOS Monterey 12.6.1
  • CI GitHub Workflows runs on Ubuntu latest

Steps to reproduce

Tell us how to reproduce this issue.

  1. Specify the package version in the adapt.json file: Screen Shot 2022-12-06 at 1 28 34 PM

  2. When running adapt install the CLI prompts "There are newer compatible versions of the following plugins:" and user input is required to "skip".

Expected behaviour

The requested version is installed adapt install should have a flag to indicate that user input is not available

Actual behaviour

The CLI prompts "There are newer compatible versions of the following plugins:" and user input is required to "skip". Screen Shot 2022-12-06 at 1 28 27 PM

Screenshots (if you can)

Screen Shot 2022-12-06 at 1 35 30 PM

kateharney avatar Dec 06 '22 18:12 kateharney