style: reformat all source code by prettier

This commit is contained in:
Zongmin Lei
2021-05-06 13:32:47 +08:00
parent 0b15109107
commit 901b771960
7 changed files with 40 additions and 32 deletions

View File

@@ -9,7 +9,7 @@ var readline = require("readline");
var rl = readline.createInterface({
input: process.stdin,
output: process.stdout
output: process.stdout,
});
console.log('Enter a blank line to do xss(), enter "@quit" to exit.\n');
@@ -31,7 +31,7 @@ function setPrompt(line) {
setPrompt(1);
var html = [];
rl.on("line", function(line) {
rl.on("line", function (line) {
if (line === "@quit") return process.exit();
if (line === "") {
console.log("");