Skip to content

Commit ada4f2a

Browse files
committed
fix(MongoBinaryDownload): enhance progress message
1 parent 62337fd commit ada4f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ export class MongoBinaryDownload {
455455
const mbComplete = Math.round((this.dlProgress.current / 1048576) * 10) / 10;
456456

457457
const crReturn = this.platform === 'win32' ? '\x1b[0G' : '\r';
458-
const message = `Downloading MongoDB ${this.version}: ${percentComplete} % (${mbComplete}mb / ${this.dlProgress.totalMb}mb)${crReturn}`;
458+
const message = `Downloading MongoDB "${this.version}": ${percentComplete}% (${mbComplete}mb / ${this.dlProgress.totalMb}mb)${crReturn}`;
459459

460460
if (process.stdout.isTTY) {
461461
// if TTY overwrite last line over and over until finished

0 commit comments

Comments
 (0)