@codacy/verity-cli 0.34.0-experimental.a0879f9 → 0.34.0-experimental.dc0010f
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
|
@@ -27073,7 +27073,7 @@ function channelSilence(input) {
|
|
|
27073
27073
|
// src/lib/cli-version.ts
|
|
27074
27074
|
function cliVersion() {
|
|
27075
27075
|
try {
|
|
27076
|
-
return true ? "0.34.0-experimental.
|
|
27076
|
+
return true ? "0.34.0-experimental.dc0010f" : "dev";
|
|
27077
27077
|
} catch {
|
|
27078
27078
|
return "dev";
|
|
27079
27079
|
}
|
|
@@ -34873,10 +34873,10 @@ function parseReplayOutput(output) {
|
|
|
34873
34873
|
}
|
|
34874
34874
|
return { claim, shellCalls, executedCalls, shellTexts, outputTexts };
|
|
34875
34875
|
}
|
|
34876
|
-
var RESULT_LINE = /REPLAY_RESULT=(reproduced|diverged)\b
|
|
34876
|
+
var RESULT_LINE = /REPLAY_RESULT=(reproduced|diverged)\b/;
|
|
34877
34877
|
function printedResult(outputTexts) {
|
|
34878
34878
|
let last = null;
|
|
34879
|
-
for (const t of outputTexts) for (const m of t.matchAll(RESULT_LINE)) last = m[1];
|
|
34879
|
+
for (const t of outputTexts) for (const m of t.matchAll(new RegExp(RESULT_LINE.source, "g"))) last = m[1];
|
|
34880
34880
|
return last;
|
|
34881
34881
|
}
|
|
34882
34882
|
var RESULT_MISSING = "the harness never printed REPLAY_RESULT=reproduced on its own stdout \u2014 the verdict was the model's word, not the run's";
|
|
@@ -39901,7 +39901,7 @@ function registerInitCommand(program2) {
|
|
|
39901
39901
|
...telemetryChoice ? { telemetry: telemetryChoice } : {},
|
|
39902
39902
|
init: {
|
|
39903
39903
|
completed_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
39904
|
-
cli_version: true ? "0.34.0-experimental.
|
|
39904
|
+
cli_version: true ? "0.34.0-experimental.dc0010f" : "dev"
|
|
39905
39905
|
}
|
|
39906
39906
|
});
|
|
39907
39907
|
} catch (err2) {
|
|
@@ -41374,8 +41374,8 @@ function registerLeanCommand(program2) {
|
|
|
41374
41374
|
}
|
|
41375
41375
|
|
|
41376
41376
|
// src/cli.ts
|
|
41377
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.34.0-experimental.
|
|
41378
|
-
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.34.0-experimental.
|
|
41377
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.34.0-experimental.dc0010f").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) => {
|
|
41378
|
+
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.34.0-experimental.dc0010f");
|
|
41379
41379
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
41380
41380
|
try {
|
|
41381
41381
|
await foldLegacyLocalCredential();
|
package/package.json
CHANGED