Skip to content

Commit eb5651f

Browse files
alan-agius4pkozlowski-opensource
authored andcommitted
fix(docs-infra): resolve Mermaid from Bazel root path (angular#57924)
This update addresses a build failure on Windows caused by the previous method, which was incompatible with the Windows environment. Closes angular#57920 PR Close angular#57924
1 parent 6c9abd3 commit eb5651f

File tree

1 file changed

+1
-1
lines changed
  • adev/shared-docs/pipeline/guides/mermaid

1 file changed

+1
-1
lines changed

adev/shared-docs/pipeline/guides/mermaid/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function getMermaidScriptTagData() {
2424
}
2525

2626
return (mermaidScriptTagData = {
27-
path: runfiles.resolveWorkspaceRelative('node_modules/mermaid/dist/mermaid.js'),
27+
path: runfiles.resolve('npm/node_modules/mermaid/dist/mermaid.js'),
2828
});
2929
}
3030

0 commit comments

Comments
 (0)