From fe16e8a0b1c5cebaf2343f549fd650bc21b48abc Mon Sep 17 00:00:00 2001 From: Philipp Muens Date: Fri, 23 Dec 2016 11:30:56 +0100 Subject: [PATCH] Fix typos in variables guide --- docs/providers/aws/guide/variables.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/providers/aws/guide/variables.md b/docs/providers/aws/guide/variables.md index 5fccac786..813d51e84 100644 --- a/docs/providers/aws/guide/variables.md +++ b/docs/providers/aws/guide/variables.md @@ -109,8 +109,8 @@ In the above example, you're referencing the entire `myCustomFile.yml` file in t To add dynamic data into your variables, reference javascript files by putting `${file(./myFile.js):someModule}` syntax in your `serverless.yml`. Here's an example: ```js -# myCustomFile.js -module.exports.hello = function() { +// myCustomFile.js +module.exports.hello = () => { // Code that generates dynamic data return 'rate (10 minutes)'; } @@ -141,8 +141,8 @@ functions: ``` ```js -# myCustomFile.js -module.exports.schedule = function() { +// myCustomFile.js +module.exports.schedule = () => { // Code that generates dynamic data return { ten: 'rate(10 minutes)',