Skip to content

Commit b5c85a3

Browse files
Copilotmarkphip
andcommitted
Quote executable variables to prevent word splitting
Co-authored-by: markphip <933108+markphip@users.noreply.github.com>
1 parent 434e7c2 commit b5c85a3

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

src/artifacts-helper/scripts/dotnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if [ -n "${ACTIONS_ID_TOKEN_REQUEST_URL}" ]; then
55
source "$(dirname $0)"/resolve-shim.sh
66
DOTNET_EXE="$(resolve_shim)"
7-
${DOTNET_EXE} "$@"
7+
"${DOTNET_EXE}" "$@"
88
exit $?
99
fi
1010

src/artifacts-helper/scripts/npm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if [ -n "${ACTIONS_ID_TOKEN_REQUEST_URL}" ]; then
55
source "$(dirname $0)"/resolve-shim.sh
66
NPM_EXE="$(resolve_shim)"
7-
${NPM_EXE} "$@"
7+
"${NPM_EXE}" "$@"
88
exit $?
99
fi
1010

src/artifacts-helper/scripts/npx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if [ -n "${ACTIONS_ID_TOKEN_REQUEST_URL}" ]; then
55
source "$(dirname $0)"/resolve-shim.sh
66
NPX_EXE="$(resolve_shim)"
7-
${NPX_EXE} "$@"
7+
"${NPX_EXE}" "$@"
88
exit $?
99
fi
1010

src/artifacts-helper/scripts/nuget

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if [ -n "${ACTIONS_ID_TOKEN_REQUEST_URL}" ]; then
55
source "$(dirname $0)"/resolve-shim.sh
66
NUGET_EXE="$(resolve_shim)"
7-
${NUGET_EXE} "$@"
7+
"${NUGET_EXE}" "$@"
88
exit $?
99
fi
1010

src/artifacts-helper/scripts/pnpm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if [ -n "${ACTIONS_ID_TOKEN_REQUEST_URL}" ]; then
55
source "$(dirname $0)"/resolve-shim.sh
66
PNPM_EXE="$(resolve_shim)"
7-
${PNPM_EXE} "$@"
7+
"${PNPM_EXE}" "$@"
88
exit $?
99
fi
1010

src/artifacts-helper/scripts/pnpx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if [ -n "${ACTIONS_ID_TOKEN_REQUEST_URL}" ]; then
55
source "$(dirname $0)"/resolve-shim.sh
66
PNPX_EXE="$(resolve_shim)"
7-
${PNPX_EXE} "$@"
7+
"${PNPX_EXE}" "$@"
88
exit $?
99
fi
1010

src/artifacts-helper/scripts/rush

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if [ -n "${ACTIONS_ID_TOKEN_REQUEST_URL}" ]; then
55
source "$(dirname $0)"/resolve-shim.sh
66
RUSH_EXE="$(resolve_shim)"
7-
${RUSH_EXE} "$@"
7+
"${RUSH_EXE}" "$@"
88
exit $?
99
fi
1010

src/artifacts-helper/scripts/rush-pnpm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if [ -n "${ACTIONS_ID_TOKEN_REQUEST_URL}" ]; then
55
source "$(dirname $0)"/resolve-shim.sh
66
RUSH_PNPM_EXE="$(resolve_shim)"
7-
${RUSH_PNPM_EXE} "$@"
7+
"${RUSH_PNPM_EXE}" "$@"
88
exit $?
99
fi
1010

src/artifacts-helper/scripts/yarn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if [ -n "${ACTIONS_ID_TOKEN_REQUEST_URL}" ]; then
55
source "$(dirname $0)"/resolve-shim.sh
66
YARN_EXE="$(resolve_shim)"
7-
${YARN_EXE} "$@"
7+
"${YARN_EXE}" "$@"
88
exit $?
99
fi
1010

0 commit comments

Comments
 (0)