mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 11:27:04 +02:00
Fix tons of typos
This commit is contained in:
@@ -34,6 +34,6 @@ export function createProgressBarText(params: IProgressBarConfiguration): string
|
||||
const bars: number = Math.max(Math.floor(derived.progress / (1 / derived.totalTicks)), 1);
|
||||
const dashes: number = Math.max(derived.totalTicks - bars, 0);
|
||||
|
||||
// String.prototype.repeat isn't completley supported, but good enough for our purposes
|
||||
// String.prototype.repeat isn't completely supported, but good enough for our purposes
|
||||
return `[${"|".repeat(bars)}${"-".repeat(dashes)}]`;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ export function isPowerOfTwo(n: number): boolean {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Disabiling the bitwise rule because it's honestly the most effecient way to check for this.
|
||||
// Disabling the bitwise rule because it's honestly the most efficient way to check for this.
|
||||
// tslint:disable-next-line:no-bitwise
|
||||
return (n & (n - 1)) === 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user