@codacy/verity-cli 0.32.1-experimental.c640abd → 0.32.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 +5 -5
- package/package.json +1 -1
package/bin/verity.js
CHANGED
|
@@ -10509,7 +10509,7 @@ var SECURITY_PATTERNS = [
|
|
|
10509
10509
|
/Dockerfile/
|
|
10510
10510
|
];
|
|
10511
10511
|
var PROD_SERVICE_URL = "https://ofcamwrjwrkazqvdchko.supabase.co/functions/v1";
|
|
10512
|
-
var DEFAULT_SERVICE_URL = "
|
|
10512
|
+
var DEFAULT_SERVICE_URL = "".length > 0 ? "" : PROD_SERVICE_URL;
|
|
10513
10513
|
var GITHUB_CLIENT_ID = "Iv23li88HxAi3ZrbYzWh";
|
|
10514
10514
|
var GITHUB_DEVICE_CODE_URL = "https://github.com/login/device/code";
|
|
10515
10515
|
var GITHUB_ACCESS_TOKEN_URL = "https://github.com/login/oauth/access_token";
|
|
@@ -20872,7 +20872,7 @@ function channelSilence(input) {
|
|
|
20872
20872
|
// src/lib/cli-version.ts
|
|
20873
20873
|
function cliVersion() {
|
|
20874
20874
|
try {
|
|
20875
|
-
return true ? "0.32.1
|
|
20875
|
+
return true ? "0.32.1" : "dev";
|
|
20876
20876
|
} catch {
|
|
20877
20877
|
return "dev";
|
|
20878
20878
|
}
|
|
@@ -26686,7 +26686,7 @@ function registerInitCommand(program2) {
|
|
|
26686
26686
|
...telemetryChoice ? { telemetry: telemetryChoice } : {},
|
|
26687
26687
|
init: {
|
|
26688
26688
|
completed_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
26689
|
-
cli_version: true ? "0.32.1
|
|
26689
|
+
cli_version: true ? "0.32.1" : "dev"
|
|
26690
26690
|
}
|
|
26691
26691
|
});
|
|
26692
26692
|
} catch (err) {
|
|
@@ -27366,8 +27366,8 @@ function registerTelemetryCommands(program2) {
|
|
|
27366
27366
|
}
|
|
27367
27367
|
|
|
27368
27368
|
// src/cli.ts
|
|
27369
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.32.1
|
|
27370
|
-
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.32.1
|
|
27369
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.32.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) => {
|
|
27370
|
+
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.32.1");
|
|
27371
27371
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
27372
27372
|
try {
|
|
27373
27373
|
await foldLegacyLocalCredential();
|