Skip to content

Commit 7d3e403

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Remove progress updates that don't display
1 parent 04a858a commit 7d3e403

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

extensions/ql-vscode/src/variant-analysis/view-autofixes.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ export async function viewAutofixesForVariantAnalysisResults(
5050
await withProgress(
5151
async (progress: ProgressCallback) => {
5252
// Get the path to the local autofix installation.
53-
progress(progressUpdate(1, 4, `Checking for local autofix installation`));
5453
const localAutofixPath = findLocalAutofix();
5554

5655
// Get the variant analysis with the given id.
@@ -60,7 +59,6 @@ export async function viewAutofixesForVariantAnalysisResults(
6059
}
6160

6261
// Generate the query help and output it to the override directory.
63-
progress(progressUpdate(2, 4, `Generating query help override`));
6462
await overrideQueryHelp(variantAnalysis, cliServer, localAutofixPath);
6563

6664
// Get the full names (nwos) of the selected repositories.
@@ -82,8 +80,8 @@ export async function viewAutofixesForVariantAnalysisResults(
8280
// Run autofix and output results
8381
progress(
8482
progressUpdate(
85-
3,
86-
4,
83+
1,
84+
2,
8785
`Processing ${pluralize(selectedRepoNames.length, "repository", "repositories")}`,
8886
),
8987
);
@@ -98,7 +96,7 @@ export async function viewAutofixesForVariantAnalysisResults(
9896
);
9997

10098
// Output results from all repos to a combined markdown file.
101-
progress(progressUpdate(4, 4, `Finalizing autofix results`));
99+
progress(progressUpdate(2, 2, `Finalizing autofix results`));
102100
const combinedOutputMarkdownFile = join(
103101
autofixOutputStoragePath,
104102
"autofix-output.md",

0 commit comments

Comments
 (0)