[BUG] Kantra CLI doesn't throw an error when an invalid target is specified #176
Labels
good first issue
Good for newcomers
kind/bug
Categorizes issue or PR as related to a bug.
priority/low
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Milestone
Is there an existing issue for this?
Konveyor version
v0.3.0
Priority
Undefined (Default)
Current Behavior
The analysis is running successfully even though the target specified is invalid/not in the list returned by "--list-targets"
The below command runs successfully:
.\kantra-latest.exe analyze --input C:\testing\spring-petclinic --output C:\testing\target-discovery --overwrite --target "notarget-temp"
Expected Behavior
Should return an error with a message "invalid target" specified.
How Reproducible
Always (Default)
Steps To Reproduce
The below command runs successfully:
.\kantra-latest.exe analyze --input C:\testing\spring-petclinic --output C:\testing\target-discovery --overwrite --target "notarget-temp"
Environment
- OS: windows, linux
Anything else?
No response
The text was updated successfully, but these errors were encountered: