@codacy/verity-cli 0.31.1-experimental.80cf3ac → 0.31.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 +4 -4
- package/package.json +1 -1
package/bin/verity.js
CHANGED
|
@@ -10506,7 +10506,7 @@ var SECURITY_PATTERNS = [
|
|
|
10506
10506
|
/Dockerfile/
|
|
10507
10507
|
];
|
|
10508
10508
|
var PROD_SERVICE_URL = "https://ofcamwrjwrkazqvdchko.supabase.co/functions/v1";
|
|
10509
|
-
var DEFAULT_SERVICE_URL = "
|
|
10509
|
+
var DEFAULT_SERVICE_URL = "".length > 0 ? "" : PROD_SERVICE_URL;
|
|
10510
10510
|
var GITHUB_CLIENT_ID = "Iv23li88HxAi3ZrbYzWh";
|
|
10511
10511
|
var GITHUB_DEVICE_CODE_URL = "https://github.com/login/device/code";
|
|
10512
10512
|
var GITHUB_ACCESS_TOKEN_URL = "https://github.com/login/oauth/access_token";
|
|
@@ -18459,7 +18459,7 @@ function channelSilence(input) {
|
|
|
18459
18459
|
// src/lib/cli-version.ts
|
|
18460
18460
|
function cliVersion() {
|
|
18461
18461
|
try {
|
|
18462
|
-
return true ? "0.31.1
|
|
18462
|
+
return true ? "0.31.1" : "dev";
|
|
18463
18463
|
} catch {
|
|
18464
18464
|
return "dev";
|
|
18465
18465
|
}
|
|
@@ -23607,8 +23607,8 @@ function registerTelemetryCommands(program2) {
|
|
|
23607
23607
|
}
|
|
23608
23608
|
|
|
23609
23609
|
// src/cli.ts
|
|
23610
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.31.1
|
|
23611
|
-
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.31.1
|
|
23610
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.31.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 (_thisCommand, actionCommand) => {
|
|
23611
|
+
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.31.1");
|
|
23612
23612
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
23613
23613
|
try {
|
|
23614
23614
|
await foldLegacyLocalCredential();
|