Skip to content

Commit 674ef61

Browse files
committed
updated field names
1 parent ac64c52 commit 674ef61

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

runners/wikiEclipse/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class WikiEclipse extends WikiRunner {
1717

1818
runChangeFile(runCommand: RunCommand): RunResult{
1919
let fileName = path.basename(runCommand.command.parameters[0]);
20-
let filePath = path.join(this.getVariable(this.workspaceDirectory), runCommand.command.parameters[0].replace(fileName, ""));
20+
let filePath = path.join(this.getVariable(this.WORKSPACE_DIRECTORY), runCommand.command.parameters[0].replace(fileName, ""));
2121
filePath = path.relative(this.getWorkingDirectory(), filePath).replace(/\\/g, "/");
2222
let fileType = this.fileTypeMap.get(fileName.substr(fileName.indexOf(".")));
2323
let content = undefined;

runners/wikiEditor/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class WikiEditor extends WikiRunner {
1717

1818
runChangeFile(runCommand: RunCommand): RunResult{
1919
let fileName = path.basename(runCommand.command.parameters[0]);
20-
let filePath = path.join(this.getVariable(this.workspaceDirectory), runCommand.command.parameters[0].replace(fileName, ""));
20+
let filePath = path.join(this.getVariable(this.WORKSPACE_DIRECTORY), runCommand.command.parameters[0].replace(fileName, ""));
2121
filePath = path.relative(this.getWorkingDirectory(), filePath).replace(/\\/g, "/");
2222
let fileType = this.fileTypeMap.get(fileName.substr(fileName.indexOf(".")));
2323
let content = undefined;

runners/wikiVsCode/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class WikiVsCode extends WikiRunner {
1818

1919
runChangeFile(runCommand: RunCommand): RunResult{
2020
let fileName = path.basename(runCommand.command.parameters[0]);
21-
let filePath = path.join(this.getVariable(this.workspaceDirectory), runCommand.command.parameters[0].replace(fileName, ""));
21+
let filePath = path.join(this.getVariable(this.WORKSPACE_DIRECTORY), runCommand.command.parameters[0].replace(fileName, ""));
2222
filePath = path.relative(this.getWorkingDirectory(), filePath).replace(/\\/g, "/");
2323
let fileType = this.fileTypeMap.get(fileName.substr(fileName.indexOf(".")));
2424
let content = undefined;

0 commit comments

Comments
 (0)