We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7750aa9 commit ff7ea75Copy full SHA for ff7ea75
Sources/Commands/PackageCommands/Migrate.swift
@@ -116,8 +116,12 @@ extension SwiftPackageCommand {
116
} else {
117
let graph = try await buildSystem.getPackageGraph()
118
for buildDescription in buildPlan.buildModules
119
- where graph.isRootPackage(buildDescription.package) && buildDescription.module.type != .plugin
+ where graph.isRootPackage(buildDescription.package)
120
{
121
+ let module = buildDescription.module
122
+ guard module.type != .plugin, !module.implicit else {
123
+ continue
124
+ }
125
modules.append(buildDescription)
126
}
127
0 commit comments