(error: unknown)
| 18 | }; |
| 19 | |
| 20 | function errorCode(error: unknown) { |
| 21 | return error && typeof error === 'object' && 'code' in error |
| 22 | ? String(error.code) |
| 23 | : undefined; |
| 24 | } |
| 25 | |
| 26 | function workspacePackagePattern(pattern: string) { |
| 27 | const isNegated = pattern.startsWith('!'); |
no outgoing calls
no test coverage detected