Skip to content

Commit

Permalink
chore: reduce scope of variable
Browse files Browse the repository at this point in the history
marcoieni committed Jan 1, 2024
1 parent 3acefe4 commit 969601b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -76,10 +76,9 @@ runs:
CLIPPY_ALLOW_DIRTY=""
fi
CLIPPY_COMMAND="cargo clippy ${{ inputs.clippy_flags }} $CLIPPY_ALLOW_DIRTY --fix"
if [[ "${{ inputs.clippy }}" == true ]]
then
CLIPPY_COMMAND="cargo clippy ${{ inputs.clippy_flags }} $CLIPPY_ALLOW_DIRTY --fix"
echo "running `$CLIPPY_COMMAND`"
$CLIPPY_COMMAND
fi

0 comments on commit 969601b

Please sign in to comment.