Skip to content

Commit

Permalink
Remove extra log
Browse files Browse the repository at this point in the history
  • Loading branch information
yuekui committed May 22, 2024
1 parent 5cf4e4b commit 5c64578
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ async function run() {

if (envList) {
const environmentMap = new Map(containerDef.environment.map(e => [e.name, e.value]))

envList.forEach(variable => {
console.log(variable)
try {
Expand All @@ -54,9 +53,7 @@ async function run() {
console.log(e)
}
})

containerDef.environment = Array.from(environmentMap.entries()).map(([name, value]) => ({ name, value }))
console.log(containerDef.environment)
} else {
containerDef.environment = containerDef.environment.map(object => ({
name: object.name,
Expand Down

0 comments on commit 5c64578

Please sign in to comment.