Skip to content

Commit

Permalink
Use package:compileEvents hook (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbstjn committed Sep 24, 2017
1 parent 1572ecd commit 6c64893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class AWSDBAutoScaling {
*/
constructor (private serverless: Serverless) {
this.hooks = {
'before:package:createDeploymentArtifacts': this.beforeDeployResources.bind(this)
'package:compileEvents': this.beforeDeployResources.bind(this)
}
}

Expand Down

0 comments on commit 6c64893

Please sign in to comment.