@codacy/verity-cli 0.32.3-experimental.e9605e1 → 0.32.3
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";
|
|
@@ -20937,7 +20937,7 @@ function channelSilence(input) {
|
|
|
20937
20937
|
// src/lib/cli-version.ts
|
|
20938
20938
|
function cliVersion() {
|
|
20939
20939
|
try {
|
|
20940
|
-
return true ? "0.32.3
|
|
20940
|
+
return true ? "0.32.3" : "dev";
|
|
20941
20941
|
} catch {
|
|
20942
20942
|
return "dev";
|
|
20943
20943
|
}
|
|
@@ -26836,7 +26836,7 @@ function registerInitCommand(program2) {
|
|
|
26836
26836
|
...telemetryChoice ? { telemetry: telemetryChoice } : {},
|
|
26837
26837
|
init: {
|
|
26838
26838
|
completed_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
26839
|
-
cli_version: true ? "0.32.3
|
|
26839
|
+
cli_version: true ? "0.32.3" : "dev"
|
|
26840
26840
|
}
|
|
26841
26841
|
});
|
|
26842
26842
|
} catch (err) {
|
|
@@ -27506,8 +27506,8 @@ function registerTelemetryCommands(program2) {
|
|
|
27506
27506
|
}
|
|
27507
27507
|
|
|
27508
27508
|
// src/cli.ts
|
|
27509
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.32.3
|
|
27510
|
-
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.32.3
|
|
27509
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.32.3").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) => {
|
|
27510
|
+
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.32.3");
|
|
27511
27511
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
27512
27512
|
try {
|
|
27513
27513
|
await foldLegacyLocalCredential();
|