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 4858ef0 commit bbcc182Copy full SHA for bbcc182
src/GenerateTemplateFiles.ts
@@ -51,6 +51,9 @@ export default class GenerateTemplateFiles {
51
const replacers: IReplacer[] = slots.map((str: string) => {
52
const [slot, slotValue] = str.split('=');
53
54
+ const isValidReplacer: boolean = Boolean(slot) && str.includes('=');
55
+ CheckUtility.check(isValidReplacer, `${str} is not valid as a IReplacer`);
56
+
57
return {
58
slot,
59
slotValue,
0 commit comments