npm package diff
Package: @forge/cli-shared
Versions: 6.8.0-next.23 - 6.8.0-next.24
File: package/out/ui/command-line-ui.js
Index: package/out/ui/command-line-ui.js
===================================================================
--- package/out/ui/command-line-ui.js
+++ package/out/ui/command-line-ui.js
@@ -354,10 +354,10 @@
return `[${chalk_1.default.cyan(key)}]:${newLineOrSpace}${value}`;
});
return (0, text_1.itemList)(formattedItems, indent);
}
- formatYamlProperties(properties, key) {
+ formatYamlProperties(properties, key, showMessage = true) {
const yamlString = yaml_1.default.stringify(properties, undefined, ' ').replaceAll('\n', '\n ');
- return `[${chalk_1.default.cyan(key)}]: is configured with the following properties:\n ${yamlString}`;
+ return `[${chalk_1.default.cyan(key)}]: ${showMessage ? 'is configured with the following properties:' : ''}\n ${yamlString}`;
}
}
exports.CommandLineUI = CommandLineUI;