create-l3-app
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -45,3 +45,3 @@ #!/usr/bin/env Node | ||
function removeDefaultGit() { | ||
function removeDefaultGit(projectName) { | ||
return new Promise(resolve => { | ||
@@ -56,3 +56,3 @@ const process = spawn('cd', [`./${projectName}`, '&&', 'rm', '-rf', '.git']); | ||
function createNewGit() { | ||
function createNewGit(projectName) { | ||
return new Promise(resolve => { | ||
@@ -77,4 +77,4 @@ const process = spawn('cd', [`./${projectName}`, '&&', 'git', 'init']); | ||
await createProject(projectName); | ||
await removeDefaultGit(); | ||
await createNewGit(); | ||
await removeDefaultGit(projectName); | ||
await createNewGit(projectName); | ||
@@ -81,0 +81,0 @@ console.log('Project created!'); |
{ | ||
"name": "create-l3-app", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"bin": { | ||
@@ -5,0 +5,0 @@ "create-l3-app": "bin.js" |
1966