Skip to content

Commit 8ca4695

Browse files
committed
Typo
1 parent 2cff526 commit 8ca4695

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/SwiftBuildSupport/PIFBuilder.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,12 @@ public final class PIFBuilder {
119119
}
120120

121121
#if canImport(SwiftBuild)
122+
123+
private var cachedPIF: PIF.TopLevelObject?
122124

123125
/// Constructs a `PIF.TopLevelObject` representing the package graph.
124126
private func construct() throws -> PIF.TopLevelObject {
125-
try memoize(to: &self.pif) {
127+
try memoize(to: &self.cachedPIF) {
126128
guard let rootPackage = self.graph.rootPackages.only else {
127129
if self.graph.rootPackages.isEmpty {
128130
throw PIFGenerationError.rootPackageNotFound

0 commit comments

Comments
 (0)