We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5233313 + 0232e8d commit 807a065Copy full SHA for 807a065
projectGeneratorElectron/index.js
@@ -353,7 +353,7 @@ function getGoodSketchName(arg){
353
goodName = "mySketch";
354
355
while (foundOne === false) {
356
- if (fs.existsSync(path.join(currentProjectPath, goodName))) {
+ if (fs.existsSync(tmpPath.join(currentProjectPath, goodName))) {
357
console.log("«" + goodName + "» already exists, generating a new name...");
358
var adjective = projectNames.choose();
359
goodName = "my" + adjective.charAt(0).toUpperCase() + adjective.slice(1) + "Sketch";
0 commit comments