Skip to content

Commit 2b97335

Browse files
Fix lint
1 parent a3d370d commit 2b97335

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ihex.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,11 @@ function blockEndRecord(padBytesLen: number): string {
315315
case 0x0c:
316316
// The most common padding, when a block has 10 full (0x10) Data records
317317
return ':0C00000BFFFFFFFFFFFFFFFFFFFFFFFFF5';
318-
default:
318+
default: {
319319
// Input sanitation will be done in createRecord, no need to do it here too
320320
const recordData = new Uint8Array(padBytesLen).fill(0xff);
321321
return createRecord(0, RecordType.BlockEnd, recordData);
322+
}
322323
}
323324
}
324325

0 commit comments

Comments
 (0)