(value)
| 38 | if (!effective.usable || effective.receipt?.authority.valid !== true) return {}; |
| 39 | return configControl.readConfigFile(projectRoot).raw || {}; |
| 40 | } |
| 41 | |
| 42 | function asArray(value) { |
| 43 | if (Array.isArray(value)) return value; |
| 44 | if (value === null || value === undefined || value === '') return []; |
| 45 | return [value]; |
| 46 | } |
| 47 |