From 475824fb75deadd96be3e815dca5078aca83b2ac Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 13 Feb 2025 16:56:20 -0400 Subject: data: TrackSection: fix bad end-of-range offset in custom inspect --- src/data/things/album.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/data/things') diff --git a/src/data/things/album.js b/src/data/things/album.js index 6bf683c5..3eb6fc60 100644 --- a/src/data/things/album.js +++ b/src/data/things/album.js @@ -839,7 +839,7 @@ export class TrackSection extends Thing { const range = (albumIndex >= 0 && first !== null && length !== null - ? `: ${first + 1}-${first + length + 1}` + ? `: ${first + 1}-${first + length}` : ''); parts.push(` (${colors.yellow(num + range)} in ${colors.green(albumName)})`); -- cgit 1.3.0-6-gf8a5