Skip to content

Commit f43a353

Browse files
authored
Workaround issues with Exec + npm when publishing npm packages
1 parent d74833c commit f43a353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/publish/Publish.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
StandardOutputImportance="Normal" />
129129

130130
<Exec Condition=" @(NpmPackageToPublish->Count()) != 0 "
131-
Command="npm publish --registry '$(PublishMyGetNpmRegistryUrl)' '%(NpmPackageToPublish.Identity)'"
131+
Command="npm publish --registry &quot;$(PublishMyGetNpmRegistryUrl)&quot; &quot;%(NpmPackageToPublish.Identity)&quot;"
132132
ContinueOnError="true">
133133
<Output TaskParameter="ExitCode" ItemName="_NpmExitCodes" />
134134
</Exec>

0 commit comments

Comments
 (0)