mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
lint: unnecessary escape
This commit is contained in:
@@ -78,7 +78,7 @@ utils.generateUUID = function () {
|
||||
const temp_url = URL.createObjectURL(new Blob());
|
||||
const uuid = temp_url.toString();
|
||||
URL.revokeObjectURL(temp_url);
|
||||
return uuid.split(/[:\/]/g).pop().toLowerCase(); // remove prefixes
|
||||
return uuid.split(/[:/]/g).pop().toLowerCase(); // remove prefixes
|
||||
};
|
||||
|
||||
module.exports = utils;
|
||||
|
||||
Reference in New Issue
Block a user