Merge pull request #297 from somelinguist/issue-206
fix #206 Allow custom xqueryExecutionArguments ordering
This commit is contained in:
commit
0ff54da4d4
@ -78,7 +78,7 @@ export async function executeXQuery(editor: TextEditor, edit: TextEditorEdit): P
|
||||
|
||||
for (let i = 0; i < args.length; i++) {
|
||||
if (i > 0) {
|
||||
if (args[i - 1].search(/out|result/)) {
|
||||
if (args[i].search(/out|result/) !== -1) {
|
||||
outputPath = args[i];
|
||||
outputPathPos = i;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user