Skip to content
This repository was archived by the owner on Jul 23, 2021. It is now read-only.

Commit 0807980

Browse files
ebouthertchock
authored andcommitted
fixes #62: serverless-plugin-split-stacks compatibility (#69)
1 parent 7393b3e commit 0807980

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ServerlessAWSDocumentation {
2020
this._afterDeploy = this.afterDeploy.bind(this)
2121

2222
this.hooks = {
23-
'before:deploy:deploy': this._beforeDeploy,
23+
'before:package:finalize': this._beforeDeploy,
2424
'after:deploy:deploy': this._afterDeploy,
2525
};
2626

src/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ describe('ServerlessAWSDocumentation', function () {
8282
expect(this.plugin.options).toBe(this.optionsMock);
8383

8484
expect(this.plugin.hooks).toEqual({
85-
'before:deploy:deploy': this.plugin._beforeDeploy,
85+
'before:package:finalize': this.plugin._beforeDeploy,
8686
'after:deploy:deploy': this.plugin._afterDeploy,
8787
});
8888
});

0 commit comments

Comments
 (0)