Skip to content

Commit

Permalink
Add Travis CI config (davidgf#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgf committed Mar 8, 2018
1 parent 09c0c00 commit ad75ec5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: node_js
node_js:
- '9.4'

cache:
directories:
- "node_modules"
2 changes: 1 addition & 1 deletion serverless-plugin-canary-deployments.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class ServerlessCanaryDeployments {
const isVersionForFunction = _.matchesProperty('Properties.FunctionName.Ref', functionName);
const getVersionNameForFunction = _.pipe(
_.pickBy(isLambdaVersion),
_.findKey(isVersionForFunction),
_.findKey(isVersionForFunction)
);
return getVersionNameForFunction(this.compiledTpl.Resources);
}
Expand Down

0 comments on commit ad75ec5

Please sign in to comment.