(locationPath)
| 48323 | } |
| 48324 | |
| 48325 | _getIntegrityFile(locationPath) { |
| 48326 | return (0, (_asyncToGenerator2 || _load_asyncToGenerator()).default)(function* () { |
| 48327 | const expectedRaw = yield (_fs || _load_fs()).readFile(locationPath); |
| 48328 | try { |
| 48329 | return (0, (_extends2 || _load_extends()).default)({}, INTEGRITY_FILE_DEFAULTS(), JSON.parse(expectedRaw)); |
| 48330 | } catch (e) { |
| 48331 | // ignore JSON parsing for legacy text integrity files compatibility |
| 48332 | } |
| 48333 | return null; |
| 48334 | })(); |
| 48335 | } |
| 48336 | |
| 48337 | _compareIntegrityFiles(actual, expected, checkFiles, workspaceLayout) { |
| 48338 | if (!expected) { |
no test coverage detected