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