Skip to content

Commit

Permalink
Lint unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Walch committed Apr 14, 2021
1 parent d4aabab commit ba317bc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/controller/base-playlist-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ export default class BasePlaylistController implements NetworkComponentAPI {
}
let msn: number | undefined = undefined;
let part: number | undefined = undefined;
let skip;
if (details.canBlockReload && details.endSN && details.advanced) {
// Load level with LL-HLS delivery directives
const lowLatencyMode = this.hls.config.lowLatencyMode;
Expand Down
1 change: 0 additions & 1 deletion src/controller/cap-level-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
BufferCodecsData,
MediaAttachingData,
FPSDropLevelCappingData,
LevelsUpdatedData,
} from '../types/events';
import StreamController from './stream-controller';
import type { ComponentAPI } from '../types/component-api';
Expand Down
2 changes: 2 additions & 0 deletions tests/functional/auto/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,9 @@ describe(`testing hls.js playback in the browser on "${browserDescription}"`, fu
}

entries
// eslint-disable-next-line no-unused-vars
.filter(([name, stream]) => !stream.skipFunctionalTests)
// eslint-disable-next-line no-unused-vars
.forEach(([name, stream]) => {
const url = stream.url;
const config = stream.config || {};
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/auto/testbench.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function startStream(streamUrl, config, callback, autoplay) {
callback({ code: data.details, logs: logString });
}
});
video.onerror = function (event) {
video.onerror = function () {
console.log('[test] > video error, code :' + video.error.code);
callback({ code: 'video_error_' + video.error.code, logs: logString });
};
Expand Down

0 comments on commit ba317bc

Please sign in to comment.