File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,12 +62,16 @@ class BugsnagBuildReporterPlugin {
6262 const optionalOpts = {
6363 autoAssignRelease : opts . build . autoAssignRelease ,
6464 builderName : opts . build . builderName ,
65- metadata : opts . build . metadata ,
65+ metadata : '{' +
66+ Object . entries ( opts . build . metadata )
67+ . map ( ( [ key , value ] ) => `${ key } =${ value } ` )
68+ . join ( ',' ) +
69+ '}' ,
6670 provider : opts . build . sourceControl . provider ,
6771 repository : opts . build . sourceControl . repository ,
6872 revision : opts . build . sourceControl . revision ,
6973 releaseStage : opts . build . releaseStage ,
70- buildApiRootUrl : opts . build . endpoint ,
74+ buildApiRootUrl : opts . build . endpoint || opts . options . endpoint ,
7175 logLevel : opts . build . logLevel || opts . options . logLevel ,
7276 dryRun : opts . build . dryRun || opts . options . dryRun ,
7377 verbose : opts . build . verbose || opts . options . verbose ,
You can’t perform that action at this time.
0 commit comments