Skip to content

Commit

Permalink
Update ModuleInstantiator.ts
Browse files Browse the repository at this point in the history
lint
  • Loading branch information
joecrop authored Aug 30, 2024
1 parent 93cf556 commit bf04b8a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/providers/ModuleInstantiator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ function isModuleParameterized(symbol: string, container: string): boolean {
}

// Get only indexes related to module header
const subkeys = keys.slice(0, keys.findIndex((element) => element.includes(";") && !element.includes("::")))
const subkeys = keys.slice(
0,
keys.findIndex((element) => element.includes(";") && !element.includes("::"))
);

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

0 comments on commit bf04b8a

Please sign in to comment.