@vimpak/args 0.1.0 → 0.2.0

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/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -192,7 +192,7 @@ export async function main({ commands, config, defaultCommand }) {
192
192
  throw new Error(`${cmd} is not a valid command`);
193
193
  }
194
194
  else if (typeof next === "function") {
195
- await next(config, options, ...cmd);
195
+ return await next(config, options, ...cmd);
196
196
  }
197
197
  else {
198
198
  commands = next;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "name": "@vimpak/args",
5
5
  "collaborators": [
6
6
  "Sudesh Yadav <sudeshyadav955@gmail.com>"