@colyseus/loadtest
Advanced tools
Comparing version 0.1.8 to 0.1.9
{ | ||
"name": "@colyseus/loadtest", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Utility tool for load testing Colyseus.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -24,3 +24,4 @@ import * as path from "path"; | ||
if (!scriptFile) { | ||
throw new Error("you must specify a scripting file."); | ||
console.error("you must specify a scripting file."); | ||
process.exit(); | ||
} | ||
@@ -31,3 +32,4 @@ const scripting = require(scriptFile); | ||
if (!roomName) { | ||
throw new Error("--room options is required."); | ||
console.error("--room options is required."); | ||
process.exit(); | ||
} | ||
@@ -46,5 +48,3 @@ | ||
console.log(scripting.requestJoinOptions); | ||
const options = (typeof(scripting.requestJoinOptions) === "function") | ||
const options = (typeof(scripting.requestJoinOptions) === "function") | ||
? scripting.requestJoinOptions.call(client, i) | ||
@@ -74,2 +74,2 @@ : {}; | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
108
6759