Skip to content

Commit a0e918b

Browse files
committed
Update after review, dash-generate-components cli args are now quoted on both unix & windows.
1 parent af6c53c commit a0e918b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dash/development/component_generator.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,8 @@ def generate_components(
5959

6060
os.environ["NODE_PATH"] = "node_modules"
6161

62-
fmt = "node {} \"{}\" \"{}\" {}" if is_windows else "node {} {} {} {}"
63-
6462
cmd = shlex.split(
65-
fmt.format(
63+
"node {} \"{}\" \"{}\" {}".format(
6664
extract_path, ignore, reserved_patterns, components_source
6765
),
6866
posix=not is_windows,

0 commit comments

Comments
 (0)