]> git.ipfire.org Git - thirdparty/blocklistproject/lists.git/commitdiff
Fixing code comment 334/head
authorCharlie Fish <fishcharlie@me.com>
Sat, 12 Jun 2021 20:51:30 +0000 (14:51 -0600)
committerGitHub <noreply@github.com>
Sat, 12 Jun 2021 20:51:30 +0000 (14:51 -0600)
scripts/generate-dnsmasq.js

index 8ecbec9f1f0ccd80b5ddffdec944a089da91dc18..f5ecf5af8cd97aa20b88bbd40649b63e93ae7c3b 100644 (file)
@@ -9,7 +9,7 @@ const path = require("path");
                .replaceAll(/0\.0\.0\.0 (.*?)( .*)?$/gmu, "0.0.0.0 $1/$2") // I need this line to add "/" at the end of each URL
                .replaceAll(/^0\.0\.0\.0 /gmu, "server=/") // Replace all occurances of "0.0.0.0 " at the beginning of the line with "server=/"
                .replaceAll(/^# 0\.0\.0\.0 /gmu, "# server=/") // Replace all occurances of "# 0.0.0.0 " at the beginning of the line with "# server=/"
-               .replace(/^# Title: (.*?)$/gmu, "# Title: $1 (dnsmasq)"); // Add (NL) to end of title
+               .replace(/^# Title: (.*?)$/gmu, "# Title: $1 (dnsmasq)"); // Add (dnsmasq) to end of title
                await fs.writeFile(path.join(__dirname, "..", "dnsmasq-version", file.replace(".txt", "-dnsmasq.txt")), noIPFileContents, "utf8"); // Write new file to `alt-version` directory
        }));
 })();