mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-16 16:25:56 +02:00
fix(cli): quotify temp path in deploy command (#6197)
This commit is contained in:
parent
2cc89e502f
commit
c7e6409add
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ You can also set the deploymentBranch property in docusaurus.config.js .`);
|
|||
// directory, check out a clean deployment branch and add remote.
|
||||
if (
|
||||
shellExecLog(
|
||||
`git clone --depth 1 --branch ${deploymentBranch} ${deploymentRepoURL} ${toPath}`,
|
||||
`git clone --depth 1 --branch ${deploymentBranch} ${deploymentRepoURL} "${toPath}"`,
|
||||
).code === 0
|
||||
) {
|
||||
shellExecLog('git rm -rf .');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue