(value: string)
| 777 | } |
| 778 | |
| 779 | function applyDisplayMode(value: string): string { |
| 780 | if (!displayMode || displayMode === 'reference') { |
| 781 | return stripFallback(value) |
| 782 | } |
| 783 | if (displayMode === 'resolved') { |
| 784 | return replaceVarFunctions(value, ({ full, fallback }) => fallback ?? full) |
| 785 | } |
| 786 | return value |
| 787 | } |
| 788 | |
| 789 | function processValue(key: string, value: string) { |
| 790 | const protectedFragments = createProtectedFragments() |
no test coverage detected