@codacy/verity-cli 0.33.2-experimental.0c53bed → 0.33.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
|
@@ -10524,7 +10524,7 @@ var SECURITY_PATTERNS = [
|
|
|
10524
10524
|
/Dockerfile/
|
|
10525
10525
|
];
|
|
10526
10526
|
var PROD_SERVICE_URL = "https://ofcamwrjwrkazqvdchko.supabase.co/functions/v1";
|
|
10527
|
-
var DEFAULT_SERVICE_URL = "
|
|
10527
|
+
var DEFAULT_SERVICE_URL = "".length > 0 ? "" : PROD_SERVICE_URL;
|
|
10528
10528
|
var GITHUB_CLIENT_ID = "Iv23li88HxAi3ZrbYzWh";
|
|
10529
10529
|
var GITHUB_DEVICE_CODE_URL = "https://github.com/login/device/code";
|
|
10530
10530
|
var GITHUB_ACCESS_TOKEN_URL = "https://github.com/login/oauth/access_token";
|
|
@@ -22159,7 +22159,7 @@ function channelSilence(input) {
|
|
|
22159
22159
|
// src/lib/cli-version.ts
|
|
22160
22160
|
function cliVersion() {
|
|
22161
22161
|
try {
|
|
22162
|
-
return true ? "0.33.2
|
|
22162
|
+
return true ? "0.33.2" : "dev";
|
|
22163
22163
|
} catch {
|
|
22164
22164
|
return "dev";
|
|
22165
22165
|
}
|
|
@@ -28774,7 +28774,7 @@ function registerInitCommand(program2) {
|
|
|
28774
28774
|
...telemetryChoice ? { telemetry: telemetryChoice } : {},
|
|
28775
28775
|
init: {
|
|
28776
28776
|
completed_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
28777
|
-
cli_version: true ? "0.33.2
|
|
28777
|
+
cli_version: true ? "0.33.2" : "dev"
|
|
28778
28778
|
}
|
|
28779
28779
|
});
|
|
28780
28780
|
} catch (err) {
|
|
@@ -29696,8 +29696,8 @@ function registerTelemetryCommands(program2) {
|
|
|
29696
29696
|
}
|
|
29697
29697
|
|
|
29698
29698
|
// src/cli.ts
|
|
29699
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.33.2
|
|
29700
|
-
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.33.2
|
|
29699
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.33.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) => {
|
|
29700
|
+
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.33.2");
|
|
29701
29701
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
29702
29702
|
try {
|
|
29703
29703
|
await foldLegacyLocalCredential();
|