MCPcopy Index your code
hub / github.com/vercel/hyper / removeIntegrityFile

Method removeIntegrityFile

bin/yarn-standalone.js:48524–48533  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48522 }
48523
48524 removeIntegrityFile() {
48525 var _this7 = this;
48526
48527 return (0, (_asyncToGenerator2 || _load_asyncToGenerator()).default)(function* () {
48528 const loc = yield _this7._getIntegrityFileLocation();
48529 if (loc.exists) {
48530 yield (_fs || _load_fs()).unlink(loc.locationPath);
48531 }
48532 })();
48533 }
48534}
48535exports.default = InstallationIntegrityChecker;
48536

Callers 1

initMethod · 0.80

Calls 3

_load_asyncToGeneratorFunction · 0.85
_load_fsFunction · 0.85

Tested by

no test coverage detected