Skip to content

Commit 30220e7

Browse files
Update index.ts
1 parent e43262f commit 30220e7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

runners/wikiVsCode/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class WikiVsCode extends WikiRunner {
1818

1919
runCreateFile(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.workspaceDirectory), 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 = runCommand.command.parameters[1]
@@ -56,7 +56,7 @@ export class WikiVsCode extends WikiRunner {
5656
}
5757

5858
runInstallCobiGen(runCommand: RunCommand): RunResult{
59-
let dir = path.relative(this.getVariable(this.WORKSPACE_DIRECTORY), this.getWorkingDirectory()).replace(/\\/g, "/");;
59+
let dir = path.relative(this.getVariable(this.WORKSPACE_DIRECTORY), this.getWorkingDirectory()).replace(/\\/g, "/");
6060
this.renderWiki(path.join(this.getRunnerDirectory(), "templates", "installCobiGen.asciidoc"), {dir: dir});
6161
return null;
6262
}
@@ -67,4 +67,4 @@ export class WikiVsCode extends WikiRunner {
6767
: false;
6868
}
6969

70-
}
70+
}

0 commit comments

Comments
 (0)