File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/SKSwiftPMWorkspace Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ public final class SwiftPMWorkspace {
115
115
toolchain: toolchain,
116
116
flags: buildSetup. flags)
117
117
118
- self . packageGraph = PackageGraph ( rootPackages: [ ] , requiredDependencies : [ ] )
118
+ self . packageGraph = try PackageGraph ( rootPackages: [ ] , dependencies : [ ] )
119
119
120
120
try reloadPackage ( )
121
121
}
@@ -153,8 +153,8 @@ extension SwiftPMWorkspace {
153
153
log ( diag. localizedDescription, level: diag. behavior. asLogLevel)
154
154
} ] )
155
155
156
- self . packageGraph = self . workspace. loadPackageGraph (
157
- root : PackageGraphRootInput ( packages: [ packageRoot] ) ,
156
+ self . packageGraph = try self . workspace. loadPackageGraph (
157
+ rootInput : PackageGraphRootInput ( packages: [ packageRoot] ) ,
158
158
diagnostics: diags)
159
159
160
160
let plan = try BuildPlan (
You can’t perform that action at this time.
0 commit comments