From 0e2bcb474d31d3e9190a27b1c02c53354a2341e9 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 12 Jul 2021 13:52:10 -0600 Subject: [PATCH] delint --- src/voice/VoiceRecording.ts | 1 - test/utils/FixedRollingArray-test.ts | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/voice/VoiceRecording.ts b/src/voice/VoiceRecording.ts index e3ea29d0fe..536283689a 100644 --- a/src/voice/VoiceRecording.ts +++ b/src/voice/VoiceRecording.ts @@ -29,7 +29,6 @@ import { createAudioContext } from "./compat"; import { IEncryptedFile } from "matrix-js-sdk/src/@types/event"; import { uploadFile } from "../ContentMessages"; import { FixedRollingArray } from "../utils/FixedRollingArray"; -import { arraySeed } from "../utils/arrays"; import { clamp } from "../utils/numbers"; const CHANNELS = 1; // stereo isn't important diff --git a/test/utils/FixedRollingArray-test.ts b/test/utils/FixedRollingArray-test.ts index f1678abe08..732a4f175e 100644 --- a/test/utils/FixedRollingArray-test.ts +++ b/test/utils/FixedRollingArray-test.ts @@ -42,8 +42,8 @@ describe('FixedRollingArray', () => { const width = 24; const array = new FixedRollingArray(width, seed); - let maxValue = width * 2; - let minValue = width; // because we're forcing a rollover + const maxValue = width * 2; + const minValue = width; // because we're forcing a rollover for (let i = 0; i <= maxValue; i++) { array.pushValue(i); }