Skip to content

Commit 0f59668

Browse files
committed
Show transitive deps as warnings
1 parent 7180e2c commit 0f59668

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Plugins/explicitDependencyImportCheckPlugin/ExplicitDependencyImportCheckPlugin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ extension ExplicitDependencyImportCheckPlugin {
4040
) throws -> [Command] {
4141
guard !transitiveDeps.isEmpty else { return [] }
4242

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

0 commit comments

Comments
 (0)