@codacy/verity-cli 0.31.0-experimental.6bc3b1b → 0.31.0
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";
|
|
@@ -18452,7 +18452,7 @@ function channelSilence(input) {
|
|
|
18452
18452
|
// src/lib/cli-version.ts
|
|
18453
18453
|
function cliVersion() {
|
|
18454
18454
|
try {
|
|
18455
|
-
return true ? "0.31.0
|
|
18455
|
+
return true ? "0.31.0" : "dev";
|
|
18456
18456
|
} catch {
|
|
18457
18457
|
return "dev";
|
|
18458
18458
|
}
|
|
@@ -23580,8 +23580,8 @@ function registerTelemetryCommands(program2) {
|
|
|
23580
23580
|
}
|
|
23581
23581
|
|
|
23582
23582
|
// src/cli.ts
|
|
23583
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.31.0
|
|
23584
|
-
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.31.0
|
|
23583
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.31.0").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) => {
|
|
23584
|
+
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.31.0");
|
|
23585
23585
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
23586
23586
|
try {
|
|
23587
23587
|
await foldLegacyLocalCredential();
|