Skip to content
Snippets Groups Projects
Commit 292993f0 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

test: fix coverage

parent 5e022e2a
No related branches found
No related tags found
No related merge requests found
......@@ -240,7 +240,8 @@ export async function getDependency(
await delay(5000);
return getDependency(name, retries - 1);
}
if (err.name === 'ParseError') {
// istanbul ignore if
if (err.name === 'ParseError' && err.body) {
err.body = 'err.body deleted by Renovate';
}
throw new DatasourceError(err);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment