From ba54b8a83f05831b2f6149c2a0701e4ee98c3adf Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Fri, 22 Jan 2016 19:41:29 -0500 Subject: [PATCH] Add $(project) Variable - Closes #30 --- src/providers/Execution.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/providers/Execution.ts b/src/providers/Execution.ts index a403f4f..389f6fe 100644 --- a/src/providers/Execution.ts +++ b/src/providers/Execution.ts @@ -97,7 +97,8 @@ export class XQueryExecutionProvider { args = args.map((value: string) => { return value .replace('$(script)', editor.document.uri.fsPath) - .replace('$(input)', inputFile.fsPath); + .replace('$(input)', inputFile.fsPath) + .replace('$(project)', vsc.workspace.rootPath); }); try {