mirror of
https://github.com/ION606/linkedin-api.git
synced 2026-06-05 23:16:14 +00:00
fixed an incrementor bug
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ export class LoadingBar {
|
||||
}
|
||||
}
|
||||
|
||||
increment(amt) {
|
||||
increment(amt = 1) {
|
||||
cursorTo(process.stdout, this.cursor);
|
||||
for (let i = 0; i < amt; i++) process.stdout.write("\u2588");
|
||||
this.cursor += amt;
|
||||
|
||||
Reference in New Issue
Block a user