mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
test: fix coverage
This commit is contained in:
parent
5e022e2a50
commit
292993f0c6
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue