Fixed scope

This commit is contained in:
Official Noob
2019-08-07 16:20:07 +01:00
committed by GitHub
parent dce036b0e6
commit baba619fe7

View File

@@ -1,7 +1,7 @@
function getYouTubeVideoID(url) { function getYouTubeVideoID(url) {
try { // Attempt to parse url try { // Attempt to parse url
let obj = new URL(url); var obj = new URL(url);
} catch (e) { } catch (e) {
console.error("[SB] Unable to parser URL"); console.error("[SB] Unable to parser URL");
return false return false