Skip to content

fix(cli): exit non-zero when inspect or watch fails - #591

Open
bhuvan-somisetty wants to merge 1 commit into
ControlCore-Project:devfrom
bhuvan-somisetty:fix/inspect-watch-exit-code
Open

bhuvan-somisetty wants to merge 1 commit into
ControlCore-Project:devfrom
bhuvan-somisetty:fix/inspect-watch-exit-code

Conversation

@bhuvan-somisetty

Copy link
Copy Markdown

Fixes #590

inspect and watch now return a status and the CLI exits 1 on failure, same as validate. Covers invalid GraphML (text and --json) and passing a file to watch.

Added tests for all three cases.

@bhuvan-somisetty

Copy link
Copy Markdown
Author

Small fix for #590, inspect and watch now exit 1 on errors. PTAL when you get a chance @pradeeban

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant