Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular: Fix compodoc with spaces in workspace root #18140

Merged
merged 2 commits into from Jul 6, 2022

Conversation

camsteffen
Copy link
Contributor

@camsteffen camsteffen commented May 4, 2022

This fixes an issue where running compodoc fails if there are spaces in the workspace path. Spaces are not handled properly for arbitrary arguments when using shell: true. This partially reverts changes made in #16728. AFAICT, the original issue there was fixed by using npx and setting cwd. I am using macOS but I don't think this matters.

Fixes compodoc/compodoc#1222 (I think)

In addition to removing unnecessary overhead, this allows for spaces in
the workspace root path.
@nx-cloud
Copy link

nx-cloud bot commented May 4, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit ddce4c0. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@camsteffen
Copy link
Contributor Author

@yannbf friendly ping. Could this be reviewed soon?

@shilman shilman changed the title Fix compodoc with spaces in workspace root Angular: Fix compodoc with spaces in workspace root Jun 14, 2022
@ndelangen
Copy link
Member

ndelangen commented Jul 6, 2022

If CI gives the green light, this can be merged!

@ndelangen ndelangen merged commit 8eda630 into storybookjs:next Jul 6, 2022
@camsteffen camsteffen deleted the compodoc-no-shell branch July 6, 2022 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] compdoc fails to run storybook for windows 10
4 participants