Skip to content

Commit

Permalink
fix(sls): ensure plugins dont have unnessesary newline
Browse files Browse the repository at this point in the history
  • Loading branch information
uladkasach committed Oct 29, 2023
1 parent 1bf8234 commit 2ba1d74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const fix: FileFixFunction = (contents) => {
)
.replace(
' artifact: .artifact/contents.zip\n\nprovider:', // if no plugins at all
' artifact: .artifact/contents.zip\n\nplugins:\n\n - serverless-prune-plugin\n\nprovider:', // add the sls prune plugin
' artifact: .artifact/contents.zip\n\nplugins:\n - serverless-prune-plugin\n\nprovider:', // add the sls prune plugin
),
};
};

0 comments on commit 2ba1d74

Please sign in to comment.