Skip to content

Commit

Permalink
Show transitive deps as warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikoloutsos committed Nov 23, 2024
1 parent 7180e2c commit 0f59668
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ extension ExplicitDependencyImportCheckPlugin {
) throws -> [Command] {
guard !transitiveDeps.isEmpty else { return [] }

var transitiveDependenciesErrorText = "error: \(transitiveDeps.count) Transitive dependencies found for \(target.name) 🚨🚨🚨\n"
var transitiveDependenciesErrorText = "warning: \(transitiveDeps.count) Transitive dependencies found for \(target.name) 🚨🚨🚨\n"
transitiveDependenciesErrorText += transitiveDeps.map { "👉 \($0) is a transitive dependency" }
.joined(separator: "\n")

Expand Down

0 comments on commit 0f59668

Please sign in to comment.