Skip to content

Commit 0232e8d

Browse files
fix for join not working
1 parent 51986b7 commit 0232e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projectGeneratorElectron/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ function getGoodSketchName(arg){
353353
goodName = "mySketch";
354354

355355
while (foundOne === false) {
356-
if (fs.existsSync(path.join(currentProjectPath, goodName))) {
356+
if (fs.existsSync(tmpPath.join(currentProjectPath, goodName))) {
357357
console.log("«" + goodName + "» already exists, generating a new name...");
358358
var adjective = projectNames.choose();
359359
goodName = "my" + adjective.charAt(0).toUpperCase() + adjective.slice(1) + "Sketch";

0 commit comments

Comments
 (0)