Merge pull request #297 from somelinguist/issue-206
fix #206 Allow custom xqueryExecutionArguments ordering
This commit is contained in:
		
						commit
						0ff54da4d4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -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…
	
	Add table
		
		Reference in a new issue