Skip to content

Commit

Permalink
fix: change 2>&1 to &>
Browse files Browse the repository at this point in the history
  • Loading branch information
maancham committed Mar 6, 2024
1 parent ffb43d1 commit d7642dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/periodic-audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
id: cargo-audit
continue-on-error: true
run: |
cargo audit > audit_output.txt 2>&1
cat audit_output.txt
cargo audit &> audit_output.txt
echo audit_output.txt
RESULTS=$(cat audit_output.txt)
echo "results=$RESULTS" >> GITHUB_OUTPUT
# audit_output=$(cargo audit)
Expand Down

0 comments on commit d7642dc

Please sign in to comment.