Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3849154

Browse filesBrowse files
committed
Escapes all spaces, not only the first one
1 parent a5a980c commit 3849154
Copy full SHA for 3849154

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎go-core.bash

Copy file name to clipboardExpand all lines: go-core.bash
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ declare _GO_INJECT_MODULE_PATH="$_GO_INJECT_MODULE_PATH"
322322
if [[ " ${GO_ALIAS_EXPAND_CMDS[*]} " == *" $cmd "* ]]; then
323323
shopt -s expand_aliases
324324
local -a args
325-
eval "$cmd ${@/ /\\\ }"
325+
eval "$cmd ${@// /\\\ }"
326326
else
327327
"$cmd" "$@"
328328
fi

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.