@zuplo/cli
Advanced tools
Comparing version 1.14.0 to 1.15.0
@@ -36,4 +36,11 @@ export function denoTestPrepPlugin(argv, options) { | ||
export const TestHelper = { | ||
TEST_URL: "${argv.endpoint ?? undefined}" | ||
export class TestHelper { | ||
static get TEST_URL() { | ||
const url = "${argv.endpoint}"; | ||
if (url !== "undefined") { | ||
return url; | ||
} | ||
throw new Error("TEST_URL is not set. Pass --endpoint <URL> to \`zuplo test\` on the CLI to set a value."); | ||
} | ||
} | ||
@@ -40,0 +47,0 @@ |
{ | ||
"name": "@zuplo/cli", | ||
"version": "1.14.0", | ||
"version": "1.15.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/zuplo/cli", |
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
25955
681