remove unused code
This commit is contained in:
@@ -16,7 +16,6 @@ const getTime = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const out = (text, color = "white", stream = null) => {
|
const out = (text, color = "white", stream = null) => {
|
||||||
let formattedText;
|
|
||||||
switch (color) {
|
switch (color) {
|
||||||
case "white":
|
case "white":
|
||||||
text = `${getTime()} ${chalk.white(text)}`;
|
text = `${getTime()} ${chalk.white(text)}`;
|
||||||
@@ -80,7 +79,7 @@ const startServer = (options) => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
conn.on("close", (event) => {
|
conn.on("close", () => {
|
||||||
out("[TERMLOG]: Closed", conn);
|
out("[TERMLOG]: Closed", conn);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user