Add $(project) Variable - Closes #30

This commit is contained in:
Josh Johnson 2016-01-22 19:41:29 -05:00
parent d21d7404b8
commit ba54b8a83f
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 {