junebug12851/pokered-save-editor

View on GitHub
src/app/data/savefile-expanded/sections/Area/AreaSprites.ts

Summary

Maintainability
A
50 mins
Test Coverage

Showing 2 of 2 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

for (let i = 0; i < spriteCount && i < 16; i++) {
this.spriteData.push(new SpriteData(saveFile, i));
}
Severity: Minor
Found in src/app/data/savefile-expanded/sections/Area/AreaSprites.ts and 1 other location - About 50 mins to fix
src/app/data/savefile-expanded/sections/HoF.ts on lines 12..14

if statements must be braced
Open

if (saveFile !== undefined)
this.load(saveFile as SaveFileService);

There are no issues that match your filters.

Category
Status