@contrail/cli 3.4.9-alpha.bd39c0c → 3.4.9-alpha.cf4df03
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/README.md +1 -1
- package/dist/helpers/pipeline/formatters.js +4 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ $ npm install -g @contrail/cli
|
|
|
17
17
|
$ contrail COMMAND
|
|
18
18
|
running command...
|
|
19
19
|
$ contrail (--version)
|
|
20
|
-
@contrail/cli/3.4.9-alpha.
|
|
20
|
+
@contrail/cli/3.4.9-alpha.cf4df03 linux-x64 node-v24.14.1
|
|
21
21
|
$ contrail --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ contrail COMMAND
|
|
@@ -70,10 +70,13 @@ function formatTransformResult(result) {
|
|
|
70
70
|
exports.formatTransformResult = formatTransformResult;
|
|
71
71
|
function formatValidationResult(result) {
|
|
72
72
|
const lines = [chalk_1.default.bold.underline('Stage 2: Validation')];
|
|
73
|
-
if (result.
|
|
73
|
+
if (result.issues.length === 0) {
|
|
74
74
|
lines.push(` ${chalk_1.default.green.bold('VALID')} — no issues found`);
|
|
75
75
|
return lines.join('\n');
|
|
76
76
|
}
|
|
77
|
+
if (result.valid) {
|
|
78
|
+
lines.push(` ${chalk_1.default.green.bold('VALID')} with warnings:`);
|
|
79
|
+
}
|
|
77
80
|
const table = new cli_table3_1.default({
|
|
78
81
|
head: [
|
|
79
82
|
chalk_1.default.cyan('Severity'),
|
package/oclif.manifest.json
CHANGED