Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions skills/cargo-agent/scripts/cargo-agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ run_check() {
echo "Errors: $errors"
echo "Warnings: $warnings"

extract_compiler_diags "$json" 0 2>/dev/null | awk '!seen[$0]++' >"$diags" || true
extract_compiler_diags "$json" 1 2>/dev/null | awk '!seen[$0]++' >"$diags" || true

if [[ "$errors" != "0" ]]; then ok=0; fi

Expand Down Expand Up @@ -315,7 +315,7 @@ run_clippy() {
echo "Errors: $errors"
echo "Warnings: $warnings"

extract_compiler_diags "$json" 0 2>/dev/null | awk '!seen[$0]++' >"$diags" || true
extract_compiler_diags "$json" 1 2>/dev/null | awk '!seen[$0]++' >"$diags" || true
if [[ "$errors" != "0" ]]; then ok=0; fi

if [[ -s "$diags" ]]; then
Expand Down