mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-30 04:47:03 +02:00
all the lints
This commit is contained in:
@@ -108,7 +108,8 @@ export function generateResleeves(): Resleeve[] {
|
||||
}
|
||||
|
||||
const randAug: Augmentation | null = Augmentations[randKey];
|
||||
r.augmentations.push({name: randAug!.name, level: 1});
|
||||
if(randAug === null) throw new Error(`null augmentation: ${randKey}`)
|
||||
r.augmentations.push({name: randAug.name, level: 1});
|
||||
r.applyAugmentation(Augmentations[randKey]);
|
||||
r.updateStatLevels();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user