From 7b3d02b8be78e549baef975c5fa7ee83adb09f54 Mon Sep 17 00:00:00 2001 From: evanchooly Date: Wed, 7 Oct 2015 22:08:08 -0400 Subject: [PATCH] still need to bail if Build.kt exists --- src/main/kotlin/com/beust/kobalt/ProjectGenerator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/beust/kobalt/ProjectGenerator.kt b/src/main/kotlin/com/beust/kobalt/ProjectGenerator.kt index 2a59027a..dd18b415 100644 --- a/src/main/kotlin/com/beust/kobalt/ProjectGenerator.kt +++ b/src/main/kotlin/com/beust/kobalt/ProjectGenerator.kt @@ -22,7 +22,7 @@ public class ProjectGenerator : KobaltLogger { fun run(args: Args) { if (File(args.buildFile).exists()) { log(1, "Build file ${args.buildFile} already exists, not overwriting it") -// return + return } val compilerInfos = detect(File("."))