Add $(project) Variable - Closes #30
This commit is contained in:
Josh Johnson 2016-01-22 19:43:02 -05:00
commit 20016739fc
1 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,8 @@ export class XQueryExecutionProvider {
args = args.map<string>((value: string) => { args = args.map<string>((value: string) => {
return value return value
.replace('$(script)', editor.document.uri.fsPath) .replace('$(script)', editor.document.uri.fsPath)
.replace('$(input)', inputFile.fsPath); .replace('$(input)', inputFile.fsPath)
.replace('$(project)', vsc.workspace.rootPath);
}); });
try { try {