@clerc/plugin-friendly-error
Advanced tools
Comparing version 0.41.0 to 0.42.0
@@ -5,4 +5,4 @@ import { definePlugin } from '@clerc/core'; | ||
const friendlyErrorPlugin = () => definePlugin({ | ||
setup: (cli) => cli.errorHandler((err) => { | ||
kons.error(err.message); | ||
setup: (cli) => cli.errorHandler((error) => { | ||
kons.error(error.message); | ||
process.exit(1); | ||
@@ -9,0 +9,0 @@ }) |
{ | ||
"name": "@clerc/plugin-friendly-error", | ||
"version": "0.41.0", | ||
"version": "0.42.0", | ||
"author": "Ray <i@mk1.io> (https://github.com/so1ve)", | ||
@@ -16,10 +16,10 @@ "type": "module", | ||
], | ||
"homepage": "https://github.com/so1ve/clerc/tree/main/packages/plugin-friendly-error#readme", | ||
"homepage": "https://github.com/clercjs/clerc/tree/main/packages/plugin-friendly-error#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/so1ve/clerc.git", | ||
"url": "git+https://github.com/clercjs/clerc.git", | ||
"directory": "/" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/so1ve/clerc/issues" | ||
"url": "https://github.com/clercjs/clerc/issues" | ||
}, | ||
@@ -26,0 +26,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
3244