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

fix: sklp branch creation for “Host key verification failed” install error

parent 5adce7d3
No related branches found
No related tags found
No related merge requests found
...@@ -428,6 +428,11 @@ async function getUpdatedLockFiles(config) { ...@@ -428,6 +428,11 @@ async function getUpdatedLockFiles(config) {
} }
} }
} }
// istanbul ignore if
if (res.stderr && res.stderr.includes('Host key verification failed')) {
logger.info({ stderr: res.stderr }, 'Host key verification failed');
throw new Error('internal-error');
}
lockFileErrors.push({ lockFileErrors.push({
lockFile: lockFileName, lockFile: lockFileName,
stderr: res.stderr, stderr: res.stderr,
......
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