Skip to content

Commit

Permalink
Allow functions to be declared within the root serverless.yml
Browse files Browse the repository at this point in the history
Resolves #4
  • Loading branch information
horyd committed Oct 5, 2018
1 parent 00e5875 commit 36ec57b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/symlinkHook.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function writeTempServerlessConfig(folder, name, service, config) {
provider: _.omit(service.provider, 'iamRoleStatements'),
service: service.serviceObject,
resources: service.resources,
functions: service.functions,
plugins,
}, config);
if (tmpYamlData.provider.iamRoleStatements) {
Expand Down

0 comments on commit 36ec57b

Please sign in to comment.