From 9ce80d1db7a7629eece2f128cbb95c28aa37bb2f Mon Sep 17 00:00:00 2001 From: Kabir Oberai Date: Tue, 31 Dec 2024 17:54:12 +0530 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20git=20init?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/SupersignCLISupport/DevCommands/DevNewCommand.swift | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Sources/SupersignCLISupport/DevCommands/DevNewCommand.swift b/Sources/SupersignCLISupport/DevCommands/DevNewCommand.swift index 7aeb32e..e2f3b1c 100644 --- a/Sources/SupersignCLISupport/DevCommands/DevNewCommand.swift +++ b/Sources/SupersignCLISupport/DevCommands/DevNewCommand.swift @@ -161,12 +161,6 @@ struct DevNewCommand: AsyncParsableCommand { try "\(contents)\n".write(to: url, atomically: true, encoding: .utf8) } - let gitInit = Process() - gitInit.executableURL = try await ToolRegistry.locate("git") - gitInit.arguments = ["init"] - gitInit.currentDirectoryURL = baseURL - try await gitInit.runUntilExit() - print("\nFinished generating project \(name). Next steps:") print("- Enter the directory with `cd \(name)`") print("- Build and run with `supersign dev`")