mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
test(cache): ignore coverage for corrupted cache check (#401)
- similar to the other safety checks in `clean`, this won't be hit during normal usage
This commit is contained in:
parent
697e839708
commit
3fc8caf3d9
@ -265,7 +265,7 @@ export class TsCache
|
||||
cache.write(hash, data);
|
||||
return data;
|
||||
}
|
||||
else
|
||||
else /* istanbul ignore next -- should only happen when corrupted cache */
|
||||
this.context.warn(yellow(" cache broken, discarding"));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user