(cachePath: string)
| 41 | } |
| 42 | |
| 43 | function _get(cachePath: string): any { |
| 44 | try { |
| 45 | return readJson(cachePath); |
| 46 | } catch (error) { |
| 47 | _remove(cachePath); |
| 48 | throw new CacheMissException(cachePath); |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | function safeGet(cachePath: string): any { |
| 53 | try { |
no test coverage detected