aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/vicmap2osm.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/vicmap2osm.js b/bin/vicmap2osm.js
index bac3144..954fdff 100755
--- a/bin/vicmap2osm.js
+++ b/bin/vicmap2osm.js
@@ -40,6 +40,8 @@ const transform = new Transform({
readableObjectMode: true,
writableObjectMode: true,
transform(feature, encoding, callback) {
+ sourceCount++
+
if (!argv.quiet) {
if (process.stdout.isTTY && sourceCount % 10000 === 0) {
process.stdout.write(` ${sourceCount / 1000}k\r`)