Skip to content

Commit be97a42

Browse files
committed
Update scriptsFromGit
1 parent 5213d7b commit be97a42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

createReactWpTheme.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ const scriptsFromGit = function() {
6565
fs.ensureDirSync(tempFolderName);
6666
process.chdir(tempFolderName);
6767
const tempPath = process.cwd();
68-
console.log(chalk.magenta("Cloning react-scripts-wptheme from GitHub..."));
69-
execSync("git clone https://github.com/devloco/react-scripts-wptheme.git");
68+
console.log(chalk.magenta("Cloning @devloco/create-react-app/react-scripts from GitHub..."));
69+
execSync("git clone https://github.com/devloco/create-react-app.git");
7070
process.chdir("..");
71-
let scriptsPath = "file:" + path.join(tempPath, "react-scripts-wptheme");
71+
let scriptsPath = "file:" + path.join(tempPath, "create-react-app", "packages", "react-scripts");
7272
return {
7373
scriptsPath: scriptsPath,
7474
callback: function() {

0 commit comments

Comments
 (0)