Updated error handling in the example command tool.
Some checks failed
CI / test (push) Failing after 16s

This commit is contained in:
2026-02-21 04:26:32 +01:00
parent 22ca29b4af
commit fef9f3edeb
2 changed files with 13 additions and 8 deletions

View File

@@ -36,6 +36,10 @@ jobs:
run: go build -o ./bin/triplex-example ./cmd/triplex-example
- name: Run example
run: ./bin/triplex-example && ./bin/triplex-example --complete ABC-1234-D && echo "Example ran successfully"
run: |
if ./bin/triplex-example && ./bin/triplex-example --complete ABC-1234-D; then
echo "Example ran successfully"
else
echo "Example failed"
exit 1
fi