Skip to content

Commit

Permalink
fix(API): Bring back legacy service.serviceFilename for plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Apr 22, 2021
1 parent 182d563 commit 6c896a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/classes/Service.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ class Service {

loadServiceFileParam() {
const serverlessFileParam = this.serverless.configurationInput;
// Not used internally, left set to not break plugins which depend on it
// TOOD: Remove with next major
this.serviceFilename = this.serverless.configurationFilename;

const serverlessFile = serverlessFileParam;
// basic service level validation
Expand Down

0 comments on commit 6c896a5

Please sign in to comment.