@codacy/verity-cli 0.35.2 → 0.35.3-experimental.f980d82
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
|
@@ -14733,7 +14733,7 @@ var SECURITY_PATTERNS = [
|
|
|
14733
14733
|
/(^|\/)gradle\.lockfile$/
|
|
14734
14734
|
];
|
|
14735
14735
|
var PROD_SERVICE_URL = "https://ofcamwrjwrkazqvdchko.supabase.co/functions/v1";
|
|
14736
|
-
var DEFAULT_SERVICE_URL = "".length > 0 ? "" : PROD_SERVICE_URL;
|
|
14736
|
+
var DEFAULT_SERVICE_URL = "https://wukeddyzpijoegyajtnc.supabase.co/functions/v1".length > 0 ? "https://wukeddyzpijoegyajtnc.supabase.co/functions/v1" : PROD_SERVICE_URL;
|
|
14737
14737
|
var GITHUB_CLIENT_ID = "Iv23li88HxAi3ZrbYzWh";
|
|
14738
14738
|
var GITHUB_DEVICE_CODE_URL = "https://github.com/login/device/code";
|
|
14739
14739
|
var GITHUB_ACCESS_TOKEN_URL = "https://github.com/login/oauth/access_token";
|
|
@@ -15325,7 +15325,7 @@ function pinRefusalMessage(verdict, targetUrl) {
|
|
|
15325
15325
|
// src/lib/cli-version.ts
|
|
15326
15326
|
function cliVersion() {
|
|
15327
15327
|
try {
|
|
15328
|
-
return true ? "0.35.
|
|
15328
|
+
return true ? "0.35.3-experimental.f980d82" : "dev";
|
|
15329
15329
|
} catch {
|
|
15330
15330
|
return "dev";
|
|
15331
15331
|
}
|
|
@@ -44412,7 +44412,7 @@ async function recordAnswers(ui, momentIds, telemetry, completed) {
|
|
|
44412
44412
|
moments: momentIds,
|
|
44413
44413
|
...telemetry ? { telemetry } : {},
|
|
44414
44414
|
// A failed run also clears an earlier stamp: "done" describes this checkout now.
|
|
44415
|
-
init: completed ? { completed_at: (/* @__PURE__ */ new Date()).toISOString(), cli_version: true ? "0.35.
|
|
44415
|
+
init: completed ? { completed_at: (/* @__PURE__ */ new Date()).toISOString(), cli_version: true ? "0.35.3-experimental.f980d82" : "dev" } : void 0
|
|
44416
44416
|
});
|
|
44417
44417
|
} catch (err2) {
|
|
44418
44418
|
ui.rail.line(`Could not record the setup answers: ${terminalText(err2.message, 200)}`, "warn");
|
|
@@ -46335,10 +46335,10 @@ function registerLeanCommand(program2) {
|
|
|
46335
46335
|
}
|
|
46336
46336
|
|
|
46337
46337
|
// src/cli.ts
|
|
46338
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.35.
|
|
46338
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.35.3-experimental.f980d82").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) => {
|
|
46339
46339
|
const isTelemetryHelper = actionCommand.name() === "headers" && actionCommand.parent?.name() === "telemetry";
|
|
46340
46340
|
if (!isTelemetryHelper) {
|
|
46341
|
-
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.35.
|
|
46341
|
+
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.35.3-experimental.f980d82");
|
|
46342
46342
|
}
|
|
46343
46343
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
46344
46344
|
try {
|