refactor: clean up code
This commit is contained in:
parent
576a93ff94
commit
62a4e434f1
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue