From 06e6ace24159c771e2e58ddbec294cf393ce0c9c Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Sat, 28 Apr 2018 00:20:57 -0400 Subject: [PATCH] Satisfy Lint Error --- src/xpath/commands/evaluateXPath.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/xpath/commands/evaluateXPath.ts b/src/xpath/commands/evaluateXPath.ts index 4262467..fb9ff19 100644 --- a/src/xpath/commands/evaluateXPath.ts +++ b/src/xpath/commands/evaluateXPath.ts @@ -6,6 +6,16 @@ import { ExtensionState } from "../../extension"; 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 { 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); } } - -class HistoricQuery { - constructor(uri: string, query: string) { - this.uri = uri; - this.query = query; - } - - uri: string; - query: string; -}