(matchPattern)
| 286 | } |
| 287 | |
| 288 | export function matchPattern2RegExString(matchPattern) { |
| 289 | return matchPattern.replace(/\./g, '\\.').replace(/^\*\\\./, '(\\w+(-\\w+)*\\.)*'); |
| 290 | } |
| 291 | |
| 292 | export function mapError(error = {}) { |
| 293 | return { |
no outgoing calls
no test coverage detected