test ci examples

This commit is contained in:
menshibin 2024-09-25 12:51:56 +08:00
parent a2264530f0
commit 3834e1ccf6
1 changed files with 1 additions and 3 deletions

View File

@ -10,11 +10,9 @@ for(var i = 2; i < global.process.argv.length; i++){
} }
if(host == null){ if(host == null){
console.log("Usage: node nodejsChecker.js host=<hostname> port=<port>"); host = 'localhost';
process.exit(1);
} }
async function createConnect() { async function createConnect() {
let dsn = 'ws://' + host + ':6041' let dsn = 'ws://' + host + ':6041'
console.log(dsn) console.log(dsn)