Skip to content

Commit af85360

Browse files
committed
feedback
1 parent e8f3617 commit af85360

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Sources/Build/BuildDescription/ProductBuildDescription.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public final class ProductBuildDescription: SPMBuildCore.ProductBuildDescription
245245
throw InternalError("unexpectedly asked to generate linker arguments for a plugin product")
246246
}
247247

248-
if let resourcesPath = self.buildParameters.toolchain.swiftResourcesPath(static: hasStaticStdlib) {
248+
if let resourcesPath = self.buildParameters.toolchain.swiftResourcesPath(isStatic: hasStaticStdlib) {
249249
args += ["-resource-dir", resourcesPath.pathString]
250250
}
251251

Sources/Build/BuildDescription/SwiftTargetBuildDescription.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ public final class SwiftTargetBuildDescription {
939939
arguments += ["-static-stdlib"]
940940
}
941941

942-
if let resourcesPath = self.buildParameters.toolchain.swiftResourcesPath(static: isStatic) {
942+
if let resourcesPath = self.buildParameters.toolchain.swiftResourcesPath(isStatic: isStatic) {
943943
arguments += ["-resource-dir", resourcesPath.pathString]
944944
}
945945

Sources/PackageModel/Toolchain.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ extension Toolchain {
9292
///
9393
/// - Parameter static: Controls whether to use the static or dynamic
9494
/// resources directory.
95-
public func swiftResourcesPath(static isStatic: Bool) -> AbsolutePath? {
95+
public func swiftResourcesPath(isStatic: Bool) -> AbsolutePath? {
9696
isStatic ? swiftStaticResourcesPath : swiftResourcesPath
9797
}
9898

0 commit comments

Comments
 (0)