Skip to content

Commit eeac61e

Browse files
author
Noam Kfir
committed
Cleanup
1 parent 20da4f8 commit eeac61e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/services/languages/javascript/methodExtractor.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@ export class JSMethodExtractor implements IMethodExtractor {
2121
return [];
2222
}
2323

24-
// UserService
2524
const packageFolderParent = path.dirname(packageFile.fsPath);
26-
const docFolder = path.dirname(document.uri.fsPath);
2725

28-
var relative = path.relative(packageFolderParent, document.uri.fsPath)
26+
let relative = path.relative(packageFolderParent, document.uri.fsPath)
2927
.replaceAll('\\', '/'); // get rid of windows backslashes
3028

3129
if(relative.startsWith('node_modules')) {

0 commit comments

Comments
 (0)