main
V 1 year ago
parent 8472c3823e
commit 5edbd2391d
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905

@ -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;
} }
} }

Loading…
Cancel
Save