Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

Commit

Permalink
fix: remove process (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
echosoar committed Mar 11, 2020
1 parent a2be5e7 commit fcfddd2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/faas-cli-plugin-package/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ export class PackagePlugin extends BasePlugin {
'package:installDep': this.installDep.bind(this),
'package:package': this.package.bind(this),
'before:package:finalize': this.finalize.bind(this),
'after:package:finalize': this.afterFinalize.bind(this),
'package:tscompile': this.tsCompile.bind(this),
};

Expand Down Expand Up @@ -609,10 +608,4 @@ export class PackagePlugin extends BasePlugin {
writeFileSync(this.cacheSpec.specFile.path, this.cacheSpec.specData);
}
}

afterFinalize() {
if (!this.options.skipExit) {
process.exit();
}
}
}

0 comments on commit fcfddd2

Please sign in to comment.