Skip to content

Commit 4c21b29

Browse files
committed
update
1 parent ff5a104 commit 4c21b29

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/childProcessCall/file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class File {
5858
};
5959

6060
public codeDir(dir) {
61-
return path.join(__dirname, '..', dir || '');
61+
return path.join(__dirname, dir || '');
6262
};
6363

6464
public cacheFile(k) {

src/service/ExecuteService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ class ExecuteService implements Disposable {
3030
constructor() {
3131
// this.leetCodeCliResourcesRootPath = path.join(__dirname, "..", "..", "node_modules", "childProcessCall");
3232
if (!systemUtils.useVscodeNode()) {
33-
this.leetCodeCliResourcesRootPath = path.join(__dirname, "..", "..", "resources");
33+
this.leetCodeCliResourcesRootPath = path.join(__dirname, "..", "..", "..", "resources");
3434
}
35-
this.leetCodeCliRootPath = path.join(__dirname, "..", "..", "out", "src", "childProcessCall");
35+
this.leetCodeCliRootPath = path.join(__dirname, "..", "..", "..", "out", "src", "childProcessCall");
3636
this.nodeExecutable = this.initNodePath();
3737
this.configurationChangeListener = workspace.onDidChangeConfiguration((event: ConfigurationChangeEvent) => {
3838
if (event.affectsConfiguration("leetcode-problem-rating.nodePath")) {

0 commit comments

Comments
 (0)