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

fix(bundler): catch authentication requirement

parent cdb0408d
Branches
No related tags found
No related merge requests found
......@@ -166,8 +166,9 @@ async function getArtifacts(
throw new Error('bundler-fs');
}
if (
err.stdout &&
err.stdout.includes('Please supply credentials for this source')
(err.stdout &&
err.stdout.includes('Please supply credentials for this source')) ||
(err.stderr && err.stderr.includes('Authentication is required'))
) {
logger.warn(
{ err },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment