@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.
- package/dist/index.js +1 -1
- 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;
|