@codacy/verity-cli 0.35.0-experimental.3211f79 → 0.35.0-experimental.9fc6b77
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 +6 -6
- package/package.json +1 -1
package/bin/verity.js
CHANGED
|
@@ -28244,7 +28244,7 @@ function channelSilence(input) {
|
|
|
28244
28244
|
// src/lib/cli-version.ts
|
|
28245
28245
|
function cliVersion() {
|
|
28246
28246
|
try {
|
|
28247
|
-
return true ? "0.35.0-experimental.
|
|
28247
|
+
return true ? "0.35.0-experimental.9fc6b77" : "dev";
|
|
28248
28248
|
} catch {
|
|
28249
28249
|
return "dev";
|
|
28250
28250
|
}
|
|
@@ -42093,7 +42093,7 @@ async function runInit(program2, opts) {
|
|
|
42093
42093
|
// The effective answer: the next run starts from this record.
|
|
42094
42094
|
moments: plan.momentIds,
|
|
42095
42095
|
...telemetry ? { telemetry } : {},
|
|
42096
|
-
init: { completed_at: (/* @__PURE__ */ new Date()).toISOString(), cli_version: true ? "0.35.0-experimental.
|
|
42096
|
+
init: { completed_at: (/* @__PURE__ */ new Date()).toISOString(), cli_version: true ? "0.35.0-experimental.9fc6b77" : "dev" }
|
|
42097
42097
|
});
|
|
42098
42098
|
} catch (err2) {
|
|
42099
42099
|
rail.line(`Could not record the setup answers: ${terminalText(err2.message, 200)}`, "warn");
|
|
@@ -43253,8 +43253,8 @@ function renderSeatUsage(d, now = /* @__PURE__ */ new Date()) {
|
|
|
43253
43253
|
lines.push(
|
|
43254
43254
|
`Session ${utcHm(d.session.start)}\u2013${utcHm(d.session.resets_at)} (resets in ${inText(now, new Date(d.session.resets_at))}) \xB7 week from Mon ${utcDay2(d.week.start)} (resets Mon ${utcDay2(d.week.resets_at)}, 00:00 UTC)`
|
|
43255
43255
|
);
|
|
43256
|
-
if (!d.plan) lines.push("No plan is set for this org: counts only.
|
|
43257
|
-
else if (!d.enforced) lines.push("Limits are shown for information. They are not enforced
|
|
43256
|
+
if (!d.plan) lines.push("No plan is set for this org: counts only.");
|
|
43257
|
+
else if (!d.enforced) lines.push("Limits are shown for information. They are not enforced yet.");
|
|
43258
43258
|
const me = d.members.find((m) => m.me);
|
|
43259
43259
|
if (me) {
|
|
43260
43260
|
const w = me.weeks[0];
|
|
@@ -43923,8 +43923,8 @@ function registerLeanCommand(program2) {
|
|
|
43923
43923
|
}
|
|
43924
43924
|
|
|
43925
43925
|
// src/cli.ts
|
|
43926
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.35.0-experimental.
|
|
43927
|
-
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.35.0-experimental.
|
|
43926
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.35.0-experimental.9fc6b77").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) => {
|
|
43927
|
+
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.35.0-experimental.9fc6b77");
|
|
43928
43928
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
43929
43929
|
try {
|
|
43930
43930
|
await foldLegacyLocalCredential();
|
package/package.json
CHANGED