Skip to content

Commit a6b08c3

Browse files
committed
longer names in prog bars
1 parent 90ef91b commit a6b08c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/hub/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class UploadProgressManager {
7575

7676
if (!bar) {
7777
bar = this.multibar.create(100, 0, {
78-
filename: this.truncateFilename(path, 25),
78+
filename: this.truncateFilename(path, 100),
7979
state: state,
8080
});
8181
this.fileBars.set(path, bar);
@@ -92,7 +92,7 @@ class UploadProgressManager {
9292
} else {
9393
// Fall back to simple console logging
9494
const percentage = Math.round(progress * 100);
95-
const truncatedPath = this.truncateFilename(path, 50);
95+
const truncatedPath = this.truncateFilename(path, 100);
9696

9797
if (progress >= 1) {
9898
const statusIcon = state === "hashing" ? "✓ hashed" : "✓ uploaded";

0 commit comments

Comments
 (0)