(target: Info, source: Info)
| 43 | } |
| 44 | |
| 45 | function mergeConfigConcatArrays(target: Info, source: Info): Info { |
| 46 | const merged = mergeConfig(target, source) |
| 47 | if (target.instructions && source.instructions) { |
| 48 | merged.instructions = Array.from(new Set([...target.instructions, ...source.instructions])) |
| 49 | } |
| 50 | return merged |
| 51 | } |
| 52 | |
| 53 | function normalizeLoadedConfig(data: unknown) { |
| 54 | if (!isRecord(data)) return data |
no test coverage detected