File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments