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
No related merge requests found
...@@ -166,8 +166,9 @@ async function getArtifacts( ...@@ -166,8 +166,9 @@ async function getArtifacts(
throw new Error('bundler-fs'); throw new Error('bundler-fs');
} }
if ( if (
err.stdout && (err.stdout &&
err.stdout.includes('Please supply credentials for this source') err.stdout.includes('Please supply credentials for this source')) ||
(err.stderr && err.stderr.includes('Authentication is required'))
) { ) {
logger.warn( logger.warn(
{ err }, { 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