Skip to content

Commit

Permalink
Updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkelM committed Nov 4, 2023
1 parent a9e0e21 commit 460c546
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shuffleVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ async function tryGetPlaylistFromDB(playlistId, localPlaylistInfo = null) {
data: playlistId
};

// Some of the tests break if we do not create a deepCopy here, as they run on the same object
// Some of the tests break if we do not create a deepCopy here, as the local and database object somehow get linked
let playlistInfo = JSON.parse(JSON.stringify(await chrome.runtime.sendMessage(msg)));

/* c8 ignore start - These are legacy conversions we don't want to test */
Expand Down Expand Up @@ -600,7 +600,7 @@ async function testVideoExistence(videoId) {
videoExists = true;
}
} catch (error) {
console.log(`An error was encountered and it is assumed the video does not exist: ${videoId}`);
console.log(`An error was encountered while checking for video existence, so it is assumed the video does not exist: ${videoId}`);
videoExists = false;
}

Expand Down

0 comments on commit 460c546

Please sign in to comment.