1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 08:30:07 +01:00

Merge pull request #1495 from rcknr/cloudflared

Fix extra parameters for share tool, fixes #1494
This commit is contained in:
Matt Stauffer
2024-11-25 12:16:19 -05:00
committed by GitHub

2
valet
View File

@@ -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