remove unused code
This commit is contained in:
parent
c5828c0d69
commit
d21680a5f9
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user