diff --git a/Sources/VaporToolbox/New/New.swift b/Sources/VaporToolbox/New/New.swift index 87b0cd60..0a40bbdf 100644 --- a/Sources/VaporToolbox/New/New.swift +++ b/Sources/VaporToolbox/New/New.swift @@ -36,7 +36,7 @@ struct New: AnyCommand { context.console.info("Cloning template...") try? FileManager.default.removeItem(atPath: templateTree) - let gitBranch = signature.templateBranch ?? "master" + let gitBranch = signature.templateBranch ?? "main" _ = try Process.git.clone(repo: gitUrl, toFolder: templateTree, branch: gitBranch) if FileManager.default.fileExists(atPath: templateTree.appendingPathComponents("manifest.yml")) {