Skip to content

Commit

Permalink
Switch order of compute and default
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jan 30, 2022
1 parent c934fa1 commit 4356518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/normalize/lib/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export const applyDefinition = async function (
return value
}

const valueA = await addDefaultValue(value, defaultValue, opts)
const valueB = await computeValue(valueA, compute, opts)
const valueA = await computeValue(value, compute, opts)
const valueB = await addDefaultValue(valueA, defaultValue, opts)
const valueC = await applyValidateTransform({
value: valueB,
path,
Expand Down

0 comments on commit 4356518

Please sign in to comment.