Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev committed Mar 24, 2020
1 parent 6dc9122 commit 1c7da58
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/master-playlist-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,13 +474,13 @@ export class MasterPlaylistController extends videojs.EventTarget {
const bufferLowWaterLine = this.bufferLowWaterLine();

if (shouldSwitchToMedia({
currentPlaylist,
nextPlaylist,
forwardBuffer,
bufferLowWaterLine,
duration: this.duration(),
log: this.logger_
})) {
currentPlaylist,
nextPlaylist,
forwardBuffer,
bufferLowWaterLine,
duration: this.duration(),
log: this.logger_
})) {
this.masterPlaylistLoader_.media(nextPlaylist);
}

Expand Down
2 changes: 1 addition & 1 deletion test/master-playlist-controller.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@ QUnit.test('selects a playlist after main/combined segment downloads', function(
QUnit.test('does not select a playlist after segment downloads if only one playlist', function(assert) {
const origWarn = videojs.log.warn;
let calls = 0;
let warnings = [];
const warnings = [];

videojs.log.warn = (text) => warnings.push(text);
this.masterPlaylistController.selectPlaylist = () => {
Expand Down

0 comments on commit 1c7da58

Please sign in to comment.