@codacy/verity-cli 0.35.0 → 0.35.1-experimental.19ce23f
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.1-experimental.19ce23f" : "dev";
|
|
15329
15329
|
} catch {
|
|
15330
15330
|
return "dev";
|
|
15331
15331
|
}
|
|
@@ -44191,7 +44191,7 @@ async function recordAnswers(ui, momentIds, telemetry, completed) {
|
|
|
44191
44191
|
moments: momentIds,
|
|
44192
44192
|
...telemetry ? { telemetry } : {},
|
|
44193
44193
|
// A failed run also clears an earlier stamp: "done" describes this checkout now.
|
|
44194
|
-
init: completed ? { completed_at: (/* @__PURE__ */ new Date()).toISOString(), cli_version: true ? "0.35.
|
|
44194
|
+
init: completed ? { completed_at: (/* @__PURE__ */ new Date()).toISOString(), cli_version: true ? "0.35.1-experimental.19ce23f" : "dev" } : void 0
|
|
44195
44195
|
});
|
|
44196
44196
|
} catch (err2) {
|
|
44197
44197
|
ui.rail.line(`Could not record the setup answers: ${terminalText(err2.message, 200)}`, "warn");
|
|
@@ -46114,10 +46114,10 @@ function registerLeanCommand(program2) {
|
|
|
46114
46114
|
}
|
|
46115
46115
|
|
|
46116
46116
|
// src/cli.ts
|
|
46117
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.35.
|
|
46117
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.35.1-experimental.19ce23f").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) => {
|
|
46118
46118
|
const isTelemetryHelper = actionCommand.name() === "headers" && actionCommand.parent?.name() === "telemetry";
|
|
46119
46119
|
if (!isTelemetryHelper) {
|
|
46120
|
-
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.35.
|
|
46120
|
+
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.35.1-experimental.19ce23f");
|
|
46121
46121
|
}
|
|
46122
46122
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
46123
46123
|
try {
|