Skip to content

Commit 0f8bce3

Browse files
hyperpolymathclaude
andcommitted
fix: replace hardcoded panic-attacker path with command lookup
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4c3bcac commit 0f8bce3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Justfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ container-sign:
120120

121121
# Run panic-attack static analysis
122122
panic-scan:
123-
@if [ -x "/var/mnt/eclipse/repos/panic-attacker/target/release/panic-attack" ]; then \
124-
/var/mnt/eclipse/repos/panic-attacker/target/release/panic-attack assail . --verbose; \
123+
@if command -v panic-attack >/dev/null 2>&1; then \
124+
panic-attack assail . --verbose; \
125125
else \
126-
echo "panic-attack not builtrun 'cd /var/mnt/eclipse/repos/panic-attacker && cargo build --release'"; \
126+
echo "panic-attack not foundinstall from https://github.com/hyperpolymath/panic-attacker"; \
127127
fi
128128

129129
# Run hypatia neurosymbolic scan

0 commit comments

Comments
 (0)