mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-04-01 21:13:11 +00:00
chore: Fix the test
This commit is contained in:
@@ -351,11 +351,11 @@ import { Variants } from "${startSdk}/lib/config/builder/variants"
|
||||
)},
|
||||
warning: ${JSON.stringify(value?.spec?.tag?.warning || null)},
|
||||
required: ${JSON.stringify(
|
||||
!(value?.spec?.tag?.nullable || false)
|
||||
? { default: null }
|
||||
: false,
|
||||
// prettier-ignore
|
||||
'default' in value?.spec ? {default: value?.spec?.default} :
|
||||
!!value?.spec?.tag?.nullable || false ? {default: null} :
|
||||
false,
|
||||
)},
|
||||
default: ${JSON.stringify(value?.spec?.default || null)},
|
||||
}, ${variants})
|
||||
`,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user