Skip to content

Commit

Permalink
Merge branch 'develop' into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
tlovett1 committed Jul 3, 2024
2 parents 5802a4d + 6da5e22 commit bee025b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/great-plants-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"10up-toolkit": minor
---

Fixing git clone path inside project command to support paths with spaces.
2 changes: 1 addition & 1 deletion packages/toolkit/scripts/project/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const run = async () => {
process.exit(1);
}

execSync(`git clone ${template} ${initPath}`);
execSync(`git clone ${template} '${initPath}'`);
fs.rmdirSync(path.join(initPath, '.git'), { recursive: true });
}

Expand Down

0 comments on commit bee025b

Please sign in to comment.