refactor: clean up code

This commit is contained in:
tomasz-io 2024-11-14 16:00:14 -08:00
parent 576a93ff94
commit 62a4e434f1

View file

@ -141,7 +141,6 @@ export async function getQueryForFile(
return undefined;
}
// const fullLangName = getFullLanguageName(filepath);
const sourcePath = path.join(
__dirname,
"..",
@ -149,7 +148,6 @@ export async function getQueryForFile(
? ["extensions", "vscode", "tree-sitter"]
: ["tree-sitter"]),
queryPath,
// `${fullLangName}.scm`,
);
if (!fs.existsSync(sourcePath)) {
return undefined;