Skip to content

Commit

Permalink
Handle undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
chardos committed Jun 23, 2020
1 parent fe07475 commit f089c13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils/resolveJoins.js
@@ -1,5 +1,9 @@
// Used to resolve Fn::Join in environment variables
export default function resolveJoins(environment) {
if (!environment) {
return undefined
}

const newEnv = {}

Object.keys(environment).forEach((key) => {
Expand Down

0 comments on commit f089c13

Please sign in to comment.