@clerc/plugin-friendly-error
Advanced tools
Comparing version 0.42.0 to 0.42.1
@@ -5,4 +5,4 @@ import { definePlugin } from '@clerc/core'; | ||
const friendlyErrorPlugin = () => definePlugin({ | ||
setup: (cli) => cli.errorHandler((error) => { | ||
kons.error(error.message); | ||
setup: (cli) => cli.errorHandler((err) => { | ||
kons.error(err.message); | ||
process.exit(1); | ||
@@ -9,0 +9,0 @@ }) |
{ | ||
"name": "@clerc/plugin-friendly-error", | ||
"version": "0.42.0", | ||
"version": "0.42.1", | ||
"author": "Ray <i@mk1.io> (https://github.com/so1ve)", | ||
@@ -5,0 +5,0 @@ "type": "module", |
3240