Skip to content

Commit d7f4846

Browse files
committed
Fix build break
1 parent 31a1bbe commit d7f4846

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export function generateScopes(text: string, parsedFileName: path.ParsedPath) {
118118
otherGrammar.grammar :
119119
Promise.resolve(undefined)
120120
]).then(([mainIGrammar, otherIGrammar]) => generateScopesWorker(
121-
initGrammar(mainGrammar.kind, mainIGrammar),
121+
initGrammar(mainGrammar.kind, mainIGrammar!),
122122
otherIGrammar && initGrammar(otherGrammar!.kind, otherIGrammar),
123123
oriLines
124124
));

0 commit comments

Comments
 (0)