Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
penalosa committed Oct 23, 2024
1 parent ae708ca commit 9b4659b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/wrangler/src/pages/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,15 +386,13 @@ function renderProgress(done: number, total: number) {
if (isInteractive()) {
s.start(`Uploading... (${done}/${total})\n`);
return {
update: (done: number, total: number) =>
s.update(`Uploading... (${done}/${total})\n`),
update: (d: number, t: number) => s.update(`Uploading... (${d}/${t})\n`),
stop: s.stop,
};
} else {
logger.log(`Uploading... (${done}/${total})`);
return {
update: (done: number, total: number) =>
logger.log(`Uploading... (${done}/${total})`),
update: (d: number, t: number) => logger.log(`Uploading... (${d}/${t})`),
stop: () => {},
};
}
Expand Down

0 comments on commit 9b4659b

Please sign in to comment.