lint: unnecessary escape

isekai-main
Barış Soner Uşaklı 3 years ago
parent e802fab87f
commit 60eeae95d2

@ -78,7 +78,7 @@ utils.generateUUID = function () {
const temp_url = URL.createObjectURL(new Blob()); const temp_url = URL.createObjectURL(new Blob());
const uuid = temp_url.toString(); const uuid = temp_url.toString();
URL.revokeObjectURL(temp_url); URL.revokeObjectURL(temp_url);
return uuid.split(/[:\/]/g).pop().toLowerCase(); // remove prefixes return uuid.split(/[:/]/g).pop().toLowerCase(); // remove prefixes
}; };
module.exports = utils; module.exports = utils;

Loading…
Cancel
Save