@codacy/verity-cli 0.29.2-experimental.88e4b5c → 0.29.2
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";
|
|
@@ -16965,7 +16965,7 @@ function resolveTaskContext(opts) {
|
|
|
16965
16965
|
// src/lib/cli-version.ts
|
|
16966
16966
|
function cliVersion() {
|
|
16967
16967
|
try {
|
|
16968
|
-
return true ? "0.29.2
|
|
16968
|
+
return true ? "0.29.2" : "dev";
|
|
16969
16969
|
} catch {
|
|
16970
16970
|
return "dev";
|
|
16971
16971
|
}
|
|
@@ -21564,7 +21564,7 @@ function registerTelemetryCommands(program2) {
|
|
|
21564
21564
|
}
|
|
21565
21565
|
|
|
21566
21566
|
// src/cli.ts
|
|
21567
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.29.2
|
|
21567
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.29.2").option("--token <token>", "Override authentication token").option("--service-url <url>", "Override service URL").option("--verbose", "Log HTTP requests/responses to stderr").hook("preAction", async () => {
|
|
21568
21568
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
21569
21569
|
try {
|
|
21570
21570
|
await foldLegacyLocalCredential();
|