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:
Anton Gilgur 2022-08-19 17:02:15 -04:00 committed by GitHub
parent 697e839708
commit 3fc8caf3d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"));
}