mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-21 18:53:32 +00:00
fixed bug with console display optimization
This commit is contained in:
@@ -539,7 +539,7 @@ server.on('upgrade', function (msg, sck, head)
|
|||||||
case 'console':
|
case 'console':
|
||||||
if (j.value != 'Command returned an exception error: TypeError: cyclic input')
|
if (j.value != 'Command returned an exception error: TypeError: cyclic input')
|
||||||
{
|
{
|
||||||
if (j.sessionid == null || process.argv.getParameter('verbose') != null)
|
if (j.sessionid == null || process.argv.getParameter('verbose') != null || consoleMode)
|
||||||
{
|
{
|
||||||
console.log('Agent: ' + j.value);
|
console.log('Agent: ' + j.value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user