Strip prepended white space

main
4n0n 2 years ago
parent 16f719c87b
commit 35bbade15d
  1. 4
      index.js

@ -226,7 +226,9 @@ function Dump(filePath) {
});
}
fs.writeFileSync(p, markdown);
let final = markdown.replace(/^[ \t]+/gm, "");
fs.writeFileSync(p, final);
}
// Dump(path.join(__dirname, "Bastion.lua"));

Loading…
Cancel
Save