Skip to content

Commit 3166de2

Browse files
committed
Fix noNotes bug
1 parent 8d475b4 commit 3166de2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/late-cooks-hang.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"scan-chart": patch
3+
---
4+
5+
Fix noNotes bug

src/chart/chart-scanner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ function findChartIssues(
222222

223223
// noNotes
224224
{
225-
if (chartData.trackData.every(track => track.noteEventGroups.length === 0)) {
225+
if (chartData.trackData.every(track => track.noteEventGroups.length === 0) && !chartData.hasVocals) {
226226
addIssue(null, null, 'noNotes')
227227
}
228228
}

0 commit comments

Comments
 (0)