Fix #4549
This commit is contained in:
1 parent
03a53ccce2
commit
d0f87913e2
1 file changed
+1
-1
@@ -485,7 +485,7 @@ is_valid_string_literal :: proc(str: string, spec: Specification) -> bool {
|
|||||||
case '"':
|
case '"':
|
||||||
// okay
|
// okay
|
||||||
case '\'':
|
case '\'':
|
||||||
if spec != .JSON {
|
if spec == .JSON {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// okay
|
// okay
|
||||||
|
|||||||
Reference in new issue
Block a user