Skip to content

Commit

Permalink
Fix extra parameters for share tool, #1494
Browse files Browse the repository at this point in the history
  • Loading branch information
rcknr committed Sep 16, 2024
1 parent dce6b3c commit cd3fbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion valet
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ then

for PARAM in ${PARAMS[@]}
do
if [[ ${PARAM:0:1} == '-' ]]; then
if [[ ${PARAM:0:1} != '-' ]]; then
PARAMS=("${PARAMS[@]/$PARAM}") # Quotes when working with strings
fi
done
Expand Down

0 comments on commit cd3fbb0

Please sign in to comment.