Skip to content

Commit

Permalink
fix switch _default behaviour, allow explicitly setting undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
theoephraim committed Sep 9, 2024
1 parent 6ba80a6 commit 34ca0ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example-repo/packages/webapp/.dmno/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default defineDmnoService({
},
SWITCH_EXAMPLE: {
value: switchByNodeEnv({
_default: 'default-val',
_default: undefined,
staging: 'staging-value',
production: (ctx) => `prod-${DMNO_CONFIG.NODE_ENV}`,
})
Expand Down

0 comments on commit 34ca0ef

Please sign in to comment.