Skip to content

Commit 160b33d

Browse files
committed
rename unused to extraneous in warnings
1 parent 123a3fb commit 160b33d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Plugins/explicitDependencyImportCheckPlugin/ExplicitDependencyImportCheckPlugin.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ extension ExplicitDependencyImportCheckPlugin {
6060
) throws -> [Command] {
6161
guard !unusedDependencies.isEmpty else { return [] }
6262

63-
var warningText = "warning: \(unusedDependencies.count) Unused dependencies found for \(target.name) ⚠️⚠️\n"
64-
warningText += unusedDependencies.map { "👉 \($0) is an unused depdnency" }
63+
var warningText = "warning: \(unusedDependencies.count) Extraneous dependencies found for \(target.name) ⚠️⚠️\n"
64+
warningText += unusedDependencies.map { "👉 \($0) is an extraneous depdnency" }
6565
.joined(separator: "\n")
6666

6767
let echoTool = try context.tool(named: "echo")
6868
return [.buildCommand(
69-
displayName: "Unused Dependencies Report",
69+
displayName: "Extraneous Dependencies Report",
7070
executable: echoTool.path,
7171
arguments: [warningText],
7272
environment: [:]

0 commit comments

Comments
 (0)