@codacy/verity-cli 0.29.1-experimental.197b751 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/verity.js +3 -3
- package/package.json +1 -1
package/bin/verity.js
CHANGED
|
@@ -10492,7 +10492,7 @@ var SECURITY_PATTERNS = [
|
|
|
10492
10492
|
/Dockerfile/
|
|
10493
10493
|
];
|
|
10494
10494
|
var PROD_SERVICE_URL = "https://ofcamwrjwrkazqvdchko.supabase.co/functions/v1";
|
|
10495
|
-
var DEFAULT_SERVICE_URL = "
|
|
10495
|
+
var DEFAULT_SERVICE_URL = "".length > 0 ? "" : PROD_SERVICE_URL;
|
|
10496
10496
|
var GITHUB_CLIENT_ID = "Iv23li88HxAi3ZrbYzWh";
|
|
10497
10497
|
var GITHUB_DEVICE_CODE_URL = "https://github.com/login/device/code";
|
|
10498
10498
|
var GITHUB_ACCESS_TOKEN_URL = "https://github.com/login/oauth/access_token";
|
|
@@ -16919,7 +16919,7 @@ function resolveTaskContext(opts) {
|
|
|
16919
16919
|
// src/lib/cli-version.ts
|
|
16920
16920
|
function cliVersion() {
|
|
16921
16921
|
try {
|
|
16922
|
-
return true ? "0.29.1
|
|
16922
|
+
return true ? "0.29.1" : "dev";
|
|
16923
16923
|
} catch {
|
|
16924
16924
|
return "dev";
|
|
16925
16925
|
}
|
|
@@ -21518,7 +21518,7 @@ function registerTelemetryCommands(program2) {
|
|
|
21518
21518
|
}
|
|
21519
21519
|
|
|
21520
21520
|
// src/cli.ts
|
|
21521
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.29.1
|
|
21521
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.29.1").option("--token <token>", "Override authentication token").option("--service-url <url>", "Override service URL").option("--verbose", "Log HTTP requests/responses to stderr").hook("preAction", async () => {
|
|
21522
21522
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
21523
21523
|
try {
|
|
21524
21524
|
await foldLegacyLocalCredential();
|