Skip to content

Commit 9035221

Browse files
committed
debug logging
1 parent 19627df commit 9035221

File tree

1 file changed

+3
-1
lines changed
  • Sources/PublicModules/PADProjectBuilder/ProjectSetup

1 file changed

+3
-1
lines changed

Sources/PublicModules/PADProjectBuilder/ProjectSetup/Git.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ internal struct Git {
4444
func clone(_ repository: String, at branchOrTag: String, targetDirectoryPath: String) throws {
4545
logger?.log("🐱 Cloning \(repository) @ \(branchOrTag) into \(targetDirectoryPath)", from: String(describing: Self.self))
4646
let command = "git clone -b \(branchOrTag) \(repository) \(targetDirectoryPath)"
47-
shell.execute(command)
47+
48+
let shellOutput = shell.execute(command)
49+
logger?.debug(shellOutput, from: String(describing: Self.self))
4850

4951
let directoryContents = try fileHandler.contentsOfDirectory(atPath: targetDirectoryPath)
5052
guard !directoryContents.isEmpty else {

0 commit comments

Comments
 (0)