forked from snxraven/sshChat-CLI
fixing output
This commit is contained in:
parent
60bb59831e
commit
e2ee6d6c11
@ -160,7 +160,7 @@ rl.on('line', input => {
|
||||
startContainer(DAPI_KEY.key).then((data) => {
|
||||
console.log(data)
|
||||
for (const conn of conns) {
|
||||
conn.write(`${USERNAME} ran start: \n` + data)
|
||||
conn.write(`${USERNAME} ran start.`)
|
||||
}
|
||||
})
|
||||
}
|
||||
@ -171,7 +171,7 @@ rl.on('line', input => {
|
||||
startContainer(DAPI_KEY.key).then((data) => {
|
||||
console.log(data)
|
||||
for (const conn of conns) {
|
||||
conn.write(`${USERNAME} ran stop: \n` + data)
|
||||
conn.write(`${USERNAME} ran stop.`)
|
||||
}
|
||||
})
|
||||
}
|
||||
@ -182,7 +182,7 @@ rl.on('line', input => {
|
||||
startContainer(DAPI_KEY.key).then((data) => {
|
||||
console.log(data)
|
||||
for (const conn of conns) {
|
||||
conn.write(`${USERNAME} ran restart: \n` + data)
|
||||
conn.write(`${USERNAME} ran restart.`)
|
||||
}
|
||||
})
|
||||
}
|
||||
@ -194,7 +194,7 @@ rl.on('line', input => {
|
||||
getStats(DAPI_KEY.key).then((data) => {
|
||||
console.log(data)
|
||||
for (const conn of conns) {
|
||||
conn.write(`${USERNAME} ran stats: \n` + data)
|
||||
conn.write(`${USERNAME} ran stats.`)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user