We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee48dba commit 3357d51Copy full SHA for 3357d51
Sources/Yams/Constructor.swift
@@ -138,9 +138,9 @@ extension Bool: ScalarConstructible {
138
/// - returns: An instance of `Bool`, if one was successfully extracted from the scalar.
139
public static func construct(from scalar: Node.Scalar) -> Bool? {
140
switch scalar.string.lowercased() {
141
- case "true", "yes", "on":
+ case "true":
142
return true
143
- case "false", "no", "off":
+ case "false":
144
return false
145
default:
146
return nil
0 commit comments