1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 07:43:50 +00:00

updated selftest mode to pass parameters

This commit is contained in:
Bryan Roe
2020-08-06 11:41:30 -07:00
parent 9d577e80e7
commit c9aaeecca5
2 changed files with 18 additions and 0 deletions

View File

@@ -75,6 +75,11 @@ function coreInfo()
console.log(' ' + J.osdesc);
console.log(' ' + J.value);
console.log('');
if (process.argv.includes('--showCoreInfo="1"'))
{
console.log('\n' + JSON.stringify(J) + '\n');
}
handler.promise._res();
}
};