Skip to content

Commit

Permalink
Replaced mv with fs.renameSync
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabh Karnad committed Nov 26, 2019
1 parent 3a361d4 commit 2807e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ async function setupVueNativeApp(projectName, cmd, isCrna = false) {
);

process.chdir(projectName);
spawnSync("mv", ["App.js", "App.vue"]);
fs.renameSync("App.js", "App.vue");
remove("App.test.js");
// If created through crna
//
Expand Down

0 comments on commit 2807e71

Please sign in to comment.