Skip to content

Commit dab96bd

Browse files
committed
adjustment for the split command
1 parent c487fcd commit dab96bd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

dash/development/update_components.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def bootstrap_components(components_source, concurrency, install_type):
4343
else "{dash-core-components,dash-html-components,dash-table}"
4444
)
4545

46-
cmdstr = f"npx lerna exec --concurrency {concurrency} --scope={source_glob} -- npm {install_type}"
47-
cmd = shlex.split(cmdstr, posix=not is_windows)
46+
cmdstr = f'npx lerna exec --concurrency {concurrency} --scope="{source_glob}" -- npm {install_type}'
47+
cmd = shlex.split(cmdstr, posix=True)
4848
status_print(cmdstr)
4949

5050
with subprocess.Popen(
@@ -79,8 +79,8 @@ def build_components(components_source, concurrency):
7979
else "{dash-core-components,dash-html-components,dash-table}"
8080
)
8181

82-
cmdstr = f"npx lerna exec --concurrency {concurrency} --scope={source_glob} -- npm run build"
83-
cmd = shlex.split(cmdstr, posix=not is_windows)
82+
cmdstr = f'npx lerna exec --concurrency {concurrency} --scope="{source_glob}" -- npm run build'
83+
cmd = shlex.split(cmdstr, posix=True)
8484
status_print(cmdstr)
8585

8686
with subprocess.Popen(

0 commit comments

Comments
 (0)