Fix build

This commit is contained in:
V 2023-06-25 18:33:44 +02:00
parent 8472c3823e
commit 5edbd2391d
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905

View file

@ -151,7 +151,6 @@ async function parseFile(fileName: string) {
case "required": case "required":
case "enabledByDefault": case "enabledByDefault":
data[key] = value.kind === SyntaxKind.TrueKeyword; data[key] = value.kind === SyntaxKind.TrueKeyword;
if (!data[key] && value.kind !== SyntaxKind.FalseKeyword) throw fail(`${key} is not a boolean literal`);
break; break;
} }
} }