mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +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 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; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user