@gunshi/plugin-global 0.29.4 → 0.29.5

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.
Files changed (2) hide show
  1. package/lib/index.js +4 -1
  2. package/package.json +3 -3
package/lib/index.js CHANGED
@@ -60,7 +60,10 @@ const decorator = (baseRunner) => async (ctx) => {
60
60
  }
61
61
  return;
62
62
  }
63
- if (validationError) return await showValidationErrors(validationError);
63
+ if (validationError) {
64
+ await showValidationErrors(validationError);
65
+ throw validationError;
66
+ }
64
67
  return baseRunner(ctx);
65
68
  };
66
69
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gunshi/plugin-global",
3
3
  "description": "global options plugin for gunshi",
4
- "version": "0.29.4",
4
+ "version": "0.29.5",
5
5
  "author": {
6
6
  "name": "kazuya kawaguchi",
7
7
  "email": "kawakazu80@gmail.com"
@@ -51,7 +51,7 @@
51
51
  }
52
52
  },
53
53
  "dependencies": {
54
- "@gunshi/plugin": "0.29.4"
54
+ "@gunshi/plugin": "0.29.5"
55
55
  },
56
56
  "devDependencies": {
57
57
  "deno": "^2.7.11",
@@ -61,7 +61,7 @@
61
61
  "tsdown": "0.15.12",
62
62
  "typedoc": "^0.28.18",
63
63
  "typedoc-plugin-markdown": "^4.11.0",
64
- "@gunshi/shared": "0.29.4"
64
+ "@gunshi/shared": "0.29.5"
65
65
  },
66
66
  "scripts": {
67
67
  "build": "tsdown",