@codacy/verity-cli 0.32.2-experimental.8843567 → 0.32.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 +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";
|
|
@@ -20918,7 +20918,7 @@ function channelSilence(input) {
|
|
|
20918
20918
|
// src/lib/cli-version.ts
|
|
20919
20919
|
function cliVersion() {
|
|
20920
20920
|
try {
|
|
20921
|
-
return true ? "0.32.2
|
|
20921
|
+
return true ? "0.32.2" : "dev";
|
|
20922
20922
|
} catch {
|
|
20923
20923
|
return "dev";
|
|
20924
20924
|
}
|
|
@@ -26744,7 +26744,7 @@ function registerInitCommand(program2) {
|
|
|
26744
26744
|
...telemetryChoice ? { telemetry: telemetryChoice } : {},
|
|
26745
26745
|
init: {
|
|
26746
26746
|
completed_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
26747
|
-
cli_version: true ? "0.32.2
|
|
26747
|
+
cli_version: true ? "0.32.2" : "dev"
|
|
26748
26748
|
}
|
|
26749
26749
|
});
|
|
26750
26750
|
} catch (err) {
|
|
@@ -27424,8 +27424,8 @@ function registerTelemetryCommands(program2) {
|
|
|
27424
27424
|
}
|
|
27425
27425
|
|
|
27426
27426
|
// src/cli.ts
|
|
27427
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.32.2
|
|
27428
|
-
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.32.2
|
|
27427
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.32.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 (_thisCommand, actionCommand) => {
|
|
27428
|
+
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.32.2");
|
|
27429
27429
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
27430
27430
|
try {
|
|
27431
27431
|
await foldLegacyLocalCredential();
|