Skip to content

Commit dcf7b0d

Browse files
author
Baptiste LYET
committed
Correction linter
1 parent 25cd2f8 commit dcf7b0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/services/sound.service.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class SoundService {
7474
const tickLength = this.getTickLength();
7575
const offlineContext: OfflineAudioContext = new OfflineAudioContext(1, 16 * 2 * tickLength * 44100, 44100);
7676
this.tracks.forEach((track: Track) => {
77-
let trackSteps = this.getDuplicatedTrackSteps(track);
77+
const trackSteps = this.getDuplicatedTrackSteps(track);
7878
trackSteps.forEach((beat: boolean, i: number) => {
7979
if (!beat)
8080
return;
@@ -97,7 +97,7 @@ export class SoundService {
9797

9898

9999
private getDuplicatedTrackSteps(track: Track) {
100-
let duplicatedTracks = [...track.steps]
100+
const duplicatedTracks = [...track.steps]
101101
duplicatedTracks.push(...track.steps);
102102
return duplicatedTracks;
103103
}

0 commit comments

Comments
 (0)