Permalink
Browse files
fix off by one folder count
- Loading branch information...
Showing
with
3 additions
and
2 deletions.
-
+3
−2
cli.js
|
|
@@ -118,9 +118,10 @@ function startProgressLogging (stats) { |
|
|
}
|
|
|
|
|
|
function printScanProgress (stats) {
|
|
|
var dirCount = stats.directories + 1 // parent folder
|
|
|
logger.stdout(
|
|
|
'Creating share link for ' + stats.files + ' files in ' +
|
|
|
stats.directories + ' directories,' +
|
|
|
'Creating share link for ' + stats.files + ' files, ' +
|
|
|
dirCount + ' folders,' +
|
|
|
(stats.size ? ' ' + prettyBytes(stats.size) + ' total' : '')
|
|
|
)
|
|
|
}
|
|
|
|
0 comments on commit
7ea01a8