mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Don't change signature of loadServiceFileParam
This commit is contained in:
parent
970a1cc3f8
commit
d7a9d2f877
@ -50,10 +50,10 @@ class Service {
|
||||
return BbPromise.all([
|
||||
serverlessConfigFileUtils.getServerlessConfigFilePath(this.serverless),
|
||||
serverlessConfigFileUtils.getServerlessConfigFile(this.serverless),
|
||||
]).then(that.loadServiceFileParam.bind(that));
|
||||
]).then((args) => that.loadServiceFileParam(...args));
|
||||
}
|
||||
|
||||
loadServiceFileParam([serviceFilename, serverlessFileParam]) {
|
||||
loadServiceFileParam(serviceFilename, serverlessFileParam) {
|
||||
const that = this;
|
||||
|
||||
that.serviceFilename = serviceFilename.split(path.sep).pop();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user