Skip to content

Commit cd3fbb0

Browse files
committed
Fix extra parameters for share tool, #1494
1 parent dce6b3c commit cd3fbb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

valet

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ then
5252

5353
for PARAM in ${PARAMS[@]}
5454
do
55-
if [[ ${PARAM:0:1} == '-' ]]; then
55+
if [[ ${PARAM:0:1} != '-' ]]; then
5656
PARAMS=("${PARAMS[@]/$PARAM}") # Quotes when working with strings
5757
fi
5858
done

0 commit comments

Comments
 (0)