Satisfy Lint Error
This commit is contained in:
		
							parent
							
								
									1c083d15e3
								
							
						
					
					
						commit
						06e6ace241
					
				
					 1 changed files with 10 additions and 10 deletions
				
			
		| 
						 | 
					@ -6,6 +6,16 @@ import { ExtensionState } from "../../extension";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { EvaluatorResult, EvaluatorResultType, XPathEvaluator } from "../xpath-evaluator";
 | 
					import { EvaluatorResult, EvaluatorResultType, XPathEvaluator } from "../xpath-evaluator";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class HistoricQuery {
 | 
				
			||||||
 | 
					    constructor(uri: string, query: string) {
 | 
				
			||||||
 | 
					        this.uri = uri;
 | 
				
			||||||
 | 
					        this.query = query;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    uri: string;
 | 
				
			||||||
 | 
					    query: string;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export async function evaluateXPath(editor: TextEditor, edit: TextEditorEdit): Promise<void> {
 | 
					export async function evaluateXPath(editor: TextEditor, edit: TextEditorEdit): Promise<void> {
 | 
				
			||||||
    const config = workspace.getConfiguration(constants.extensionPrefix);
 | 
					    const config = workspace.getConfiguration(constants.extensionPrefix);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -92,13 +102,3 @@ export async function evaluateXPath(editor: TextEditor, edit: TextEditorEdit): P
 | 
				
			||||||
        memento.update(constants.stateKeys.xPathQueryLast, query);
 | 
					        memento.update(constants.stateKeys.xPathQueryLast, query);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					 | 
				
			||||||
class HistoricQuery {
 | 
					 | 
				
			||||||
    constructor(uri: string, query: string) {
 | 
					 | 
				
			||||||
        this.uri = uri;
 | 
					 | 
				
			||||||
        this.query = query;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    uri: string;
 | 
					 | 
				
			||||||
    query: string;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue