Skip to content

Commit

Permalink
fix(patch): Update Package.swift (#148)
Browse files Browse the repository at this point in the history
Incorrect boolean check fixed.
  • Loading branch information
hassila authored Apr 17, 2023
1 parent beb17c8 commit 46348d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ var dependencies: [PackageDescription.Target.Dependency] = [
"SwiftRuntimeHooks",
]

if let disableJemalloc, disableJemalloc != "false", disableJemalloc != "0", spiBuild != true {
if let disableJemalloc, disableJemalloc != "false", disableJemalloc != "0", spiBuild != false {
} else {
package.dependencies += [.package(url: "https://github.com/ordo-one/package-jemalloc", .upToNextMajor(from: "1.0.0"))]
dependencies += [.product(name: "jemalloc", package: "package-jemalloc")]
Expand Down

0 comments on commit 46348d8

Please sign in to comment.