@codacy/verity-cli 0.32.4-experimental.e769665 → 0.32.4
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";
|
|
@@ -20948,7 +20948,7 @@ function channelSilence(input) {
|
|
|
20948
20948
|
// src/lib/cli-version.ts
|
|
20949
20949
|
function cliVersion() {
|
|
20950
20950
|
try {
|
|
20951
|
-
return true ? "0.32.4
|
|
20951
|
+
return true ? "0.32.4" : "dev";
|
|
20952
20952
|
} catch {
|
|
20953
20953
|
return "dev";
|
|
20954
20954
|
}
|
|
@@ -26908,7 +26908,7 @@ function registerInitCommand(program2) {
|
|
|
26908
26908
|
...telemetryChoice ? { telemetry: telemetryChoice } : {},
|
|
26909
26909
|
init: {
|
|
26910
26910
|
completed_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
26911
|
-
cli_version: true ? "0.32.4
|
|
26911
|
+
cli_version: true ? "0.32.4" : "dev"
|
|
26912
26912
|
}
|
|
26913
26913
|
});
|
|
26914
26914
|
} catch (err) {
|
|
@@ -27589,8 +27589,8 @@ function registerTelemetryCommands(program2) {
|
|
|
27589
27589
|
}
|
|
27590
27590
|
|
|
27591
27591
|
// src/cli.ts
|
|
27592
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.32.4
|
|
27593
|
-
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.32.4
|
|
27592
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.32.4").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) => {
|
|
27593
|
+
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.32.4");
|
|
27594
27594
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
27595
27595
|
try {
|
|
27596
27596
|
await foldLegacyLocalCredential();
|