Skip to content

Commit

Permalink
chore: small refactor / clean up (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
silasbw authored Jul 11, 2019
1 parent 400475a commit cf94ff6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions backends/kubernetes-client-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,11 @@ class ClientNodeBackend {
options.parameters)
const args = orderedParameterObjects.reduce((acc, operationParameter) => {
const name = operationParameter.name
if (name in parameters) acc.push(parameters[name])
else acc.push(undefined)
if (name in parameters) {
acc.push(parameters[name])
} else {
acc.push(undefined)
}
return acc
}, [])

Expand Down

0 comments on commit cf94ff6

Please sign in to comment.