mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-12 22:10:44 -05:00
ProgressWriter: Removes character length checks
In case using emojis is your thing.
This commit is contained in:
parent
4af5f2507a
commit
d9fd560a5b
@ -12,9 +12,6 @@ export class ProgressWriter {
|
|||||||
if (total <= 0) {
|
if (total <= 0) {
|
||||||
throw new Error("Total must be a positive number.");
|
throw new Error("Total must be a positive number.");
|
||||||
}
|
}
|
||||||
if ((barFillChar && barFillChar.length !== 1) || (barEmptyChar && barEmptyChar.length !== 1)) {
|
|
||||||
throw new Error("Bar character values must be a single character.");
|
|
||||||
}
|
|
||||||
|
|
||||||
this.total = total;
|
this.total = total;
|
||||||
this.maxBarLength = maxBarLength;
|
this.maxBarLength = maxBarLength;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user