Skip to content

Commit

Permalink
Progress on truncated filename
Browse files Browse the repository at this point in the history
  • Loading branch information
131 committed Oct 13, 2023
1 parent 83a1996 commit 073203d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class Store {
stats.total_size += file_size;

if(progress)
progress.update(stats.total_size / files_size, {file_path : file_path.substr(0, 20)});
progress.update(stats.total_size / files_size, {file_name : path.basename(file_path).substr(0, 20)});

let target_hash = path.basename(file_path);

Expand Down

0 comments on commit 073203d

Please sign in to comment.