@code-pushup/cli 0.28.0 → 0.29.0
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/index.js +3 -8
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1544,7 +1544,7 @@ function reportToDetailsSection(audit) {
|
|
|
1544
1544
|
function reportToAboutSection(report) {
|
|
1545
1545
|
const date = formatDate(/* @__PURE__ */ new Date());
|
|
1546
1546
|
const { duration, version: version2, commit, plugins, categories } = report;
|
|
1547
|
-
const commitInfo = commit ? `${commit.message} (${commit.hash
|
|
1547
|
+
const commitInfo = commit ? `${commit.message} (${commit.hash})` : "N/A";
|
|
1548
1548
|
const reportMetaTable = [
|
|
1549
1549
|
reportMetaTableHeaders,
|
|
1550
1550
|
[
|
|
@@ -1620,12 +1620,7 @@ function formatDiffHeaderSection(diff) {
|
|
|
1620
1620
|
...diff.audits.changed
|
|
1621
1621
|
])
|
|
1622
1622
|
);
|
|
1623
|
-
const
|
|
1624
|
-
const styleCommits = (commits) => {
|
|
1625
|
-
const src = styleCommit(commits.before);
|
|
1626
|
-
const tgt = styleCommit(commits.after);
|
|
1627
|
-
return `compared target commit ${tgt} with source commit ${src}`;
|
|
1628
|
-
};
|
|
1623
|
+
const styleCommits = (commits) => `compared target commit ${commits.after.hash} with source commit ${commits.before.hash}`;
|
|
1629
1624
|
return paragraphs(
|
|
1630
1625
|
h1("Code PushUp"),
|
|
1631
1626
|
diff.commits ? `${outcomeTexts[outcome]} \u2013 ${styleCommits(diff.commits)}.` : `${outcomeTexts[outcome]}.`
|
|
@@ -2066,7 +2061,7 @@ var verboseUtils = (verbose = false) => ({
|
|
|
2066
2061
|
|
|
2067
2062
|
// packages/core/package.json
|
|
2068
2063
|
var name = "@code-pushup/core";
|
|
2069
|
-
var version = "0.
|
|
2064
|
+
var version = "0.29.0";
|
|
2070
2065
|
|
|
2071
2066
|
// packages/core/src/lib/implementation/execute-plugin.ts
|
|
2072
2067
|
import chalk5 from "chalk";
|