Skip to content

Commit 46196a4

Browse files
committed
refactor: . Rename createExplanation() to renderExplanation()
1 parent de8465e commit 46196a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Renderer/HtmlQueryResultsRenderer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export class HtmlQueryResultsRenderer {
125125
this.getters.query().debug(`[render] Render called: plugin state: ${state}; searching ${tasks.length} tasks`);
126126

127127
if (this.getters.query().queryLayoutOptions.explainQuery) {
128-
this.createExplanation();
128+
this.renderExplanation();
129129
}
130130

131131
const queryResult = this.getters.query().applyQueryToTasks(tasks);
@@ -160,7 +160,7 @@ export class HtmlQueryResultsRenderer {
160160
}
161161

162162
// Use the 'explain' instruction to enable this
163-
private createExplanation() {
163+
private renderExplanation() {
164164
const explanationAsString = explainResults(
165165
this.getters.source(),
166166
GlobalFilter.getInstance(),

0 commit comments

Comments
 (0)