From 008b73212218be4dcc1bd7b9c4dd50160a58feb0 Mon Sep 17 00:00:00 2001 From: ecmel Date: Fri, 26 Apr 2024 12:28:02 +0300 Subject: [PATCH] fixed test --- server/src/parser/language.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/src/parser/language.ts b/server/src/parser/language.ts index 9f4d2408..a1b67e36 100644 --- a/server/src/parser/language.ts +++ b/server/src/parser/language.ts @@ -272,6 +272,9 @@ function _(token: TokenType | RegExp) { export function generateTextMateGrammar() { const grammar = JSON.stringify(language, null, 2); - writeFileSync(resolve("syntaxes", "q.tmLanguage.json"), grammar); + writeFileSync( + resolve(__dirname, "../".repeat(4), "syntaxes", "q.tmLanguage.json"), + grammar, + ); return grammar; }