I used \w instead of \s

This commit is contained in:
MeowcaTheoRange 2024-02-23 18:47:46 -06:00
parent a2ce16a2c3
commit a4634cc2c8

View file

@ -12,7 +12,7 @@ const NodeID3 = require('node-id3');
const { JSDOM } = require("jsdom");
function compareCase(string) {
return string.toLowerCase().replace(/\w/gm, "");
return string.toLowerCase().replace(/\s/gm, "");
}
function pathGenerator({ url, name, channelName }) {