Skip to content

Commit 0c956dd

Browse files
committed
build: use esc for passing arguments
1 parent 2752af3 commit 0c956dd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

script/vsts/platforms/templates/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ steps:
3838
}
3939
4040
# Build
41+
$esc = '--%'
4142
if (($env:AGENT_OS -eq "Windows_NT") -and ($env:BUILD_ARCH -eq "x86")) {
42-
node 'script\vsts\windows-run.js' 'script\build.cmd' --no-bootstrap --compress-artifacts $CodeSign $CreateWindowsInstallaer
43+
node 'script\vsts\windows-run.js' 'script\build.cmd' --no-bootstrap --compress-artifacts $esc $CodeSign $CreateWindowsInstallaer
4344
} else {
44-
script/build --no-bootstrap --compress-artifacts $env:LinuxArgs $CodeSign $CreateWindowsInstallaer
45+
script/build --no-bootstrap --compress-artifacts $esc $env:LinuxArgs $CodeSign $CreateWindowsInstallaer
4546
}
4647
displayName: Build Atom
4748
env:

0 commit comments

Comments
 (0)