mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-04-22 02:08:00 +00:00
Adjust sort rewrite (newline) (#43)
* Adjust sort rewrite (newline) * Updat js-yaml
This commit is contained in:
+1
-1
@@ -11,4 +11,4 @@ const original = JSON.parse(fs.readFileSync('all.json', 'utf-8'));
|
||||
const allow = sortSection(original.allow);
|
||||
const deny = sortSection(original.deny);
|
||||
|
||||
fs.writeFileSync('all.json', JSON.stringify({ allow, deny }, null, 2));
|
||||
fs.writeFileSync('all.json', `${JSON.stringify({ allow, deny }, null, 2)}\n`);
|
||||
|
||||
Reference in New Issue
Block a user