Skip to content

Commit 525f92a

Browse files
PeripheralInspector: Fixed "undefined" on dimIndex (#99)
1 parent 46d29da commit 525f92a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export function parseDimIndex(spec: string, count: number): string[] {
8383
const start = parts[0];
8484
const end = parts[1];
8585

86-
if (!start || !end) {
86+
if (start === undefined || end === undefined) {
8787
return [];
8888
}
8989

0 commit comments

Comments
 (0)