Don’t git init
- Commit
9ce80d1db7a7629eece2f128cbb95c28aa37bb2f- Author
- Kabir Oberai <[email protected]>
- When
- 2024-12-31 12:24 UTC (1 year ago)
- Parents
8e4ae37
Diff
Sources/SupersignCLISupport/DevCommands/DevNewCommand.swift
diff --git a/Sources/SupersignCLISupport/DevCommands/DevNewCommand.swift b/Sources/SupersignCLISupport/DevCommands/DevNewCommand.swiftindex 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`")