Skip to content

Commit bf04b8a

Browse files
authored
Update ModuleInstantiator.ts
lint
1 parent 93cf556 commit bf04b8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/providers/ModuleInstantiator.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,10 @@ function isModuleParameterized(symbol: string, container: string): boolean {
119119
}
120120

121121
// Get only indexes related to module header
122-
const subkeys = keys.slice(0, keys.findIndex((element) => element.includes(";") && !element.includes("::")))
122+
const subkeys = keys.slice(
123+
0,
124+
keys.findIndex((element) => element.includes(";") && !element.includes("::"))
125+
);
123126

124127
if (subkeys[0] === symbol && subkeys.find((element) => element === '#(')) {
125128
return true;

0 commit comments

Comments
 (0)