Skip to content

Commit c28f506

Browse files
committed
build(kotlin): Fix null safety
1 parent 03f4bfa commit c28f506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model/Beat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ export class Beat {
813813
if (displayMode === NotationMode.SongBook) {
814814
this.whammyStyle = isGradual ? BendStyle.Gradual : BendStyle.Fast;
815815
}
816-
if (points.length === 4) {
816+
if (points!.length === 4) {
817817
let origin: BendPoint = points[0];
818818
let middle1: BendPoint = points[1];
819819
let middle2: BendPoint = points[2];

0 commit comments

Comments
 (0)