@yadurajfleetos/cli 0.9.0 → 0.9.1

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.
@@ -52,7 +52,10 @@ export const applyCommand = {
52
52
  return console.log(JSON.stringify(body, null, 2));
53
53
  if (!body.valid) {
54
54
  for (const issue of body.issues ?? []) {
55
- console.log(`${glyph.fail} ${c.red('invalid')} ${issue}`);
55
+ const text = typeof issue === 'string'
56
+ ? issue
57
+ : [issue.path, issue.message].filter(Boolean).join(': ');
58
+ console.log(`${glyph.fail} ${c.red('invalid')} ${text}`);
56
59
  }
57
60
  throw new CliError('The manifest was not applied.', EXIT.usage);
58
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yadurajfleetos/cli",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Fleet OS command-line interface for deploying and orchestrating services on user-owned hardware",
5
5
  "type": "module",
6
6
  "license": "MIT",