@codacy/verity-cli 0.32.5-experimental.4d91ca0 → 0.32.5
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
|
@@ -10523,7 +10523,7 @@ var SECURITY_PATTERNS = [
|
|
|
10523
10523
|
/Dockerfile/
|
|
10524
10524
|
];
|
|
10525
10525
|
var PROD_SERVICE_URL = "https://ofcamwrjwrkazqvdchko.supabase.co/functions/v1";
|
|
10526
|
-
var DEFAULT_SERVICE_URL = "
|
|
10526
|
+
var DEFAULT_SERVICE_URL = "".length > 0 ? "" : PROD_SERVICE_URL;
|
|
10527
10527
|
var GITHUB_CLIENT_ID = "Iv23li88HxAi3ZrbYzWh";
|
|
10528
10528
|
var GITHUB_DEVICE_CODE_URL = "https://github.com/login/device/code";
|
|
10529
10529
|
var GITHUB_ACCESS_TOKEN_URL = "https://github.com/login/oauth/access_token";
|
|
@@ -20995,7 +20995,7 @@ function channelSilence(input) {
|
|
|
20995
20995
|
// src/lib/cli-version.ts
|
|
20996
20996
|
function cliVersion() {
|
|
20997
20997
|
try {
|
|
20998
|
-
return true ? "0.32.5
|
|
20998
|
+
return true ? "0.32.5" : "dev";
|
|
20999
20999
|
} catch {
|
|
21000
21000
|
return "dev";
|
|
21001
21001
|
}
|
|
@@ -26986,7 +26986,7 @@ function registerInitCommand(program2) {
|
|
|
26986
26986
|
...telemetryChoice ? { telemetry: telemetryChoice } : {},
|
|
26987
26987
|
init: {
|
|
26988
26988
|
completed_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
26989
|
-
cli_version: true ? "0.32.5
|
|
26989
|
+
cli_version: true ? "0.32.5" : "dev"
|
|
26990
26990
|
}
|
|
26991
26991
|
});
|
|
26992
26992
|
} catch (err) {
|
|
@@ -27667,8 +27667,8 @@ function registerTelemetryCommands(program2) {
|
|
|
27667
27667
|
}
|
|
27668
27668
|
|
|
27669
27669
|
// src/cli.ts
|
|
27670
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.32.5
|
|
27671
|
-
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.32.5
|
|
27670
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.32.5").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) => {
|
|
27671
|
+
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.32.5");
|
|
27672
27672
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
27673
27673
|
try {
|
|
27674
27674
|
await foldLegacyLocalCredential();
|