Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit 0651ef0

Browse files
committed
feat: return value from command
1 parent a9e77dc commit 0651ef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/command.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default abstract class Command {
5353
let err: Error | undefined
5454
try {
5555
await this.init()
56-
await this.run()
56+
return await this.run()
5757
} catch (e) {
5858
err = e
5959
await this.catch(e)

0 commit comments

Comments
 (0)