Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemeowx2 committed Feb 29, 2024
1 parent cab8af8 commit 7b18e23
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export class App {
splatnet,
);

using bar = this.exporterProgress("Export vs games");
using bar1 = this.exporterProgress("Export vs games");
const fetcher = new GameFetcher({
cache: this.opts.cache ?? new FileCache(this.profile.state.cacheDir),
state: this.profile.state,
Expand All @@ -322,7 +322,7 @@ export class App {
gameListFetcher,
stepProgress: stats[e.name],
onStep: () => {
bar.redraw(e.name, progress(stats[e.name]));
bar1.redraw(e.name, progress(stats[e.name]));
},
}),
)
Expand All @@ -333,7 +333,7 @@ export class App {
),
);

await bar.end();
await bar1.end();

this.printStats(stats);
if (errors.length > 0) {
Expand All @@ -355,7 +355,7 @@ export class App {
} else {
const gameListFetcher = new CoopListFetcher(splatnet);

using bar = this.exporterProgress("Export coop games");
using bar2 = this.exporterProgress("Export coop games");
const fetcher = new GameFetcher({
cache: this.opts.cache ?? new FileCache(this.profile.state.cacheDir),
state: this.profile.state,
Expand All @@ -373,7 +373,7 @@ export class App {
gameListFetcher,
stepProgress: stats[e.name],
onStep: () => {
bar.redraw(e.name, progress(stats[e.name]));
bar2.redraw(e.name, progress(stats[e.name]));
},
}),
)
Expand All @@ -384,7 +384,7 @@ export class App {
),
);

await bar.end();
await bar2.end();

this.printStats(stats);
if (errors.length > 0) {
Expand Down

0 comments on commit 7b18e23

Please sign in to comment.