Skip to content

Commit a939c4b

Browse files
remkoboschkerAgentEnder
authored andcommitted
fix(core): usage of MSBuildProjectDirRelativePath should handle paths with white space
1 parent 042a9db commit a939c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/generators/init/templates/root/Directory.Build.targets__tmpl__

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
<NodeModulesRelativePath>$([MSBuild]::MakeRelative($(MSBuildProjectDirectory), $(RepoRoot)))</NodeModulesRelativePath>
99
</PropertyGroup>
1010
<Target Name="CheckNxModuleBoundaries" BeforeTargets="Build">
11-
<Exec Command="node $(NodeModulesRelativePath)/<%= checkModuleBoundariesScriptPath %> --project-root $(MSBuildProjectDirRelativePath)"/>
11+
<Exec Command="node $(NodeModulesRelativePath)/<%= checkModuleBoundariesScriptPath %> --project-root '$(MSBuildProjectDirRelativePath)'"/>
1212
</Target>
1313
</Project>

0 commit comments

Comments
 (0)