Skip to content

Commit 3882170

Browse files
equality check on optional
Co-authored-by: Alex Hoppen <[email protected]>
1 parent 671af62 commit 3882170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Foundation
66
/// If we are in a controlled CI environment, we can use internal compiler flags
77
/// to speed up the build or improve it.
88
let swiftSyntaxSwiftSettings: [SwiftSetting]
9-
if case _? = ProcessInfo.processInfo.environment["SWIFT_BUILD_SCRIPT_ENVIRONMENT"] {
9+
if ProcessInfo.processInfo.environment["SWIFT_BUILD_SCRIPT_ENVIRONMENT"] != nil {
1010
let groupFile = URL(fileURLWithPath: #file)
1111
.deletingLastPathComponent()
1212
.appendingPathComponent("utils")

0 commit comments

Comments
 (0)