Skip to content

Commit addc260

Browse files
committed
Fixed issue in custom artifact path
1 parent 27627b8 commit addc260

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/bundle.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,9 @@ function configureLayer() {
8484
if (!this.serverless.service.layers) {
8585
this.serverless.service.layers = {};
8686
}
87-
8887
this.serverless.service.layers['gemLayer'] = Object.assign(
8988
{
90-
artifact: path.join(this.build_path, 'gemLayer.zip'),
89+
package: {artifact: path.join(this.build_path, 'gemLayer.zip')},
9190
name: `${
9291
this.serverless.service.service
9392
}-${this.serverless.providers.aws.getStage()}-ruby-bundle`,

0 commit comments

Comments
 (0)