Skip to content

Commit

Permalink
#296 - updating logic to use json array instead of json attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Ventura committed Dec 15, 2022
1 parent f399f8a commit 8e76cd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion copado-function/app/Init.fn.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ CONFIG.downloadBUs = process.env.downloadBUs === 'false' ? false : true;
CONFIG.gitPush = process.env.gitPush === 'false' ? false : true;
CONFIG.copadoEnvironmentVariables =
process.env.copadoEnvironmentVariables === undefined
? '{}'
? '[]'
: process.env.copadoEnvironmentVariables;

/**
Expand Down
2 changes: 1 addition & 1 deletion copado-function/app/environments/Init.env-sample
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ repoUrl="UPDATE ME" # url
debug="UPDATE ME" # true or false
downloadBUs="UPDATE ME" # true or false
gitPush="UPDATE ME" # true or false
copadoEnvironmentVariables="UPDATE ME" # json, example: {"BU_NAME":[{"ENV_VARIABLE_NAME":"ENV_VARIABLE_CONTENT"}]}
copadoEnvironmentVariables="UPDATE ME" # json array, example: [{"BU_NAME":[{"ENV_VARIABLE_NAME":"ENV_VARIABLE_CONTENT"}]}]

## generic
credentialName="UPDATE ME"
Expand Down

0 comments on commit 8e76cd5

Please sign in to comment.