@oclif/core 4.0.0-beta.5 → 4.0.0-beta.6
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/lib/config/plugin.js
CHANGED
|
@@ -277,7 +277,7 @@ class Plugin {
|
|
|
277
277
|
throw this.addErrorScope(error, scope);
|
|
278
278
|
}
|
|
279
279
|
})))
|
|
280
|
-
// eslint-disable-next-line unicorn/
|
|
280
|
+
// eslint-disable-next-line unicorn/prefer-native-coercion-functions
|
|
281
281
|
.filter((f) => Boolean(f))
|
|
282
282
|
.reduce((commands, [id, c]) => {
|
|
283
283
|
commands[id] = c;
|
|
@@ -297,6 +297,8 @@ class Plugin {
|
|
|
297
297
|
scope && `task: ${scope}`,
|
|
298
298
|
`plugin: ${this.name}`,
|
|
299
299
|
`root: ${this.root}`,
|
|
300
|
+
...(err.code ? [`code: ${err.code}`] : []),
|
|
301
|
+
...(err.message ? [`message: ${err.message}`] : []),
|
|
300
302
|
'See more details with DEBUG=*',
|
|
301
303
|
]).join('\n');
|
|
302
304
|
return err;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/core",
|
|
3
3
|
"description": "base library for oclif CLIs",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.6",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/oclif/core/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"commitlint": "^19",
|
|
48
48
|
"cross-env": "^7.0.3",
|
|
49
49
|
"eslint": "^8.57.0",
|
|
50
|
-
"eslint-config-oclif": "^5.
|
|
51
|
-
"eslint-config-oclif-typescript": "^3.1.
|
|
50
|
+
"eslint-config-oclif": "^5.2.0",
|
|
51
|
+
"eslint-config-oclif-typescript": "^3.1.7",
|
|
52
52
|
"eslint-config-prettier": "^9.1.0",
|
|
53
53
|
"husky": "^9",
|
|
54
54
|
"lint-staged": "^15",
|