Skip to content

Commit 4dd7da2

Browse files
rnroglbrntt
andauthored
Update Plugins/GRPCProtobufGeneratorCommand/Plugin.swift
Co-authored-by: George Barnett <[email protected]>
1 parent d657e93 commit 4dd7da2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Plugins/GRPCProtobufGeneratorCommand/Plugin.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,12 @@ func executeProtocInvocation(
232232
}
233233

234234
func printProtocOutput(_ stdOut: Pipe, verbose: Bool) throws {
235-
let prefix = "\t"
236-
237235
if verbose, let outputData = try stdOut.fileHandleForReading.readToEnd() {
238236
let output = String(decoding: outputData, as: UTF8.self)
239237
let lines = output.split { $0.isNewline }
240238
print("protoc output:")
241239
for line in lines {
242-
print("\(prefix)\(line)")
240+
print("\t\(line)")
243241
}
244242
}
245243
}

0 commit comments

Comments
 (0)