(log: LogHandler)
| 157 | } |
| 158 | |
| 159 | function getLinkMap(log: LogHandler) { |
| 160 | return function linkMap(source: Source | Link, map: DecodedSourceMapOrMissing): Link { |
| 161 | if (!map.missing) { |
| 162 | return new Link(map, [source]); |
| 163 | } |
| 164 | |
| 165 | log(LOGLEVEL_WARN, logSourcemapBroken(map.plugin)); |
| 166 | |
| 167 | return new Link( |
| 168 | { |
| 169 | mappings: [], |
| 170 | names: [] |
| 171 | }, |
| 172 | [source] |
| 173 | ); |
| 174 | }; |
| 175 | } |
| 176 | |
| 177 | function getCollapsedSourcemap( |
| 178 | id: string, |
no test coverage detected
searching dependent graphs…