Open dimberr opened 1 month ago
@dimberr, Although I agree panic errors should always be prevented by the code, we strongly recommend to avoid editing the config through a text editor. The "jf c" commands should be used. For automation, to avoid interactive prompts, ensure the CI environment variable is set with true as its value.
Describe the bug
When no default config is defined ("isDefault": false) in jfrog-cli.conf.v6, cli panics
Current behavior
Reproduction steps
add new config without "isDefault": true, e.g. jfrog-cli.conf.v6:
run jf rt curl api/system/ping
Expected behavior
cli should not to panic, expected error message
JFrog CLI version
jf version 2.56.1
Operating system type and version
macOS
JFrog Artifactory version
No response
JFrog Xray version
No response