Skip to content

quotes in 'shadow'.props.*.css build #281

Answered by WebMechanic
WebMechanic asked this question in Q&A
Discussion options

You must be logged in to vote

using double quotes fixes the issue under Windows' cmd.exe, where ' is not a valid command line string delimiter.

"gen:op": "cd build && node props.js \"\" true",
"gen:nowhere": "cd build && node props \"\" false",
"gen:shadowdom": "cd build && node props \"\" false \":host\" \"shadow\"",
"gen:prefixed": "cd build && node props.js \"op\" true",

I currently can't test on Linux and I only have access to organic apples.

It apparently doesn't build properly under PowerShell at all. It's handling of command line arguments is very bizarre, and
both node .\props.js "" false ":host" "shadow" (double ")
and node .\props.js '' false ':host' 'shadow' (single ')
don't create any shadow.*.css' at all …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by WebMechanic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant