diff --git a/appveyor.yml b/appveyor.yml index 1dd99ee3..085929e1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,5 @@ environment: - nodejs_version: "9" + nodejs_version: "10" cache: - '%LOCALAPPDATA%\Yarn -> appveyor.yml' - node_modules -> yarn.lock @@ -17,4 +17,4 @@ after_test: bash codecov.sh build: off - +skip_branch_with_pr: true diff --git a/src/command.ts b/src/command.ts index 786df619..d751bd27 100644 --- a/src/command.ts +++ b/src/command.ts @@ -81,7 +81,7 @@ export default abstract class Command { /** * actual command run code goes here */ - abstract async run(): Promise + abstract run(): PromiseLike protected async init(): Promise { this.debug('init version: %s argv: %o', this.ctor._base, this.argv) if (this.config.debug) Errors.config.debug = true