Skip to content

Building 70 Projects ranging from beginner to advanced so anyone can β€” learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company πŸ‘‡

Update src/commands/verify.py

HERITAGE-XION814e282d9eaf
diff --git a/src/commands/verify.py b/src/commands/verify.py
index 86ee32da..1c7a07c1 100644
--- a/src/commands/verify.py
+++ b/src/commands/verify.py
@@ -72,9 +72,9 @@ def verify(
console.print()
generator.render_table(report)
- # # Exit with appropriate code
- # if report.status == VerificationStatus.WARNING:
- # raise typer.Exit(code=1)
+ # Exit with appropriate code on warnings
+ if report.status == VerificationStatus.WARNING:
+ raise typer.Exit(code=1)
except Exception as e:
console.print(f"[red]Error during verification:[/red] {e}")