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 c2b15ff commit 273f390Copy full SHA for 273f390
Sources/Commands/PackageCommands/Migrate.swift
@@ -114,8 +114,12 @@ extension SwiftPackageCommand {
114
} else {
115
let graph = try await buildSystem.getPackageGraph()
116
for buildDescription in buildPlan.buildModules
117
- where graph.isRootPackage(buildDescription.package) && buildDescription.module.type != .plugin
+ where graph.isRootPackage(buildDescription.package)
118
{
119
+ let module = buildDescription.module
120
+ guard module.type != .plugin, !module.implicit else {
121
+ continue
122
+ }
123
modules.append(buildDescription)
124
}
125
0 commit comments