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

Commit

Permalink
fix: return promiselike
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Sep 15, 2018
1 parent abc3e0e commit ce76d2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
@@ -1,5 +1,5 @@
environment:
nodejs_version: "9"
nodejs_version: "10"
cache:
- '%LOCALAPPDATA%\Yarn -> appveyor.yml'
- node_modules -> yarn.lock
Expand All @@ -17,4 +17,4 @@ after_test:
bash codecov.sh
build: off

skip_branch_with_pr: true
2 changes: 1 addition & 1 deletion src/command.ts
Expand Up @@ -81,7 +81,7 @@ export default abstract class Command {
/**
* actual command run code goes here
*/
abstract async run(): Promise<any>
abstract run(): PromiseLike<any>
protected async init(): Promise<any> {
this.debug('init version: %s argv: %o', this.ctor._base, this.argv)
if (this.config.debug) Errors.config.debug = true
Expand Down

0 comments on commit ce76d2c

Please sign in to comment.