diff --git a/Sources/BuildTool/BuildTool.swift b/Sources/BuildTool/BuildTool.swift index 159792a9..dec3291e 100644 --- a/Sources/BuildTool/BuildTool.swift +++ b/Sources/BuildTool/BuildTool.swift @@ -169,11 +169,6 @@ struct Lint: AsyncParsableCommand { } } - var result: [String] = [] - for try await fileContents in group { - result.append(fileContents) - } - return try await group.reduce(into: []) { accum, fileContents in accum.append(fileContents) }