Satisfy Lint Error

This commit is contained in:
Josh Johnson 2018-04-28 00:20:57 -04:00
parent 1c083d15e3
commit 06e6ace241

View File

@ -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;
}