File tree 1 file changed +1
-7
lines changed
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -108,20 +108,14 @@ export default class SauceReporter implements Reporter {
108
108
endedAt ?: Date ;
109
109
110
110
constructor ( reporterConfig : Config ) {
111
- this . shouldUpload = reporterConfig ?. upload !== false ;
112
- if ( ! hasCredentials ( ) && this . shouldUpload ) {
113
- console . warn (
114
- `Credentials not set! Verify SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables.` ,
115
- ) ;
116
- }
117
-
118
111
this . projects = { } ;
119
112
this . buildName = reporterConfig ?. buildName || '' ;
120
113
this . tags = reporterConfig ?. tags || [ ] ;
121
114
this . region = reporterConfig ?. region || 'us-west-1' ;
122
115
this . outputFile =
123
116
reporterConfig ?. outputFile || process . env . SAUCE_REPORT_OUTPUT_NAME ;
124
117
this . mergeVideos = reporterConfig ?. mergeVideos === true ;
118
+ this . shouldUpload = reporterConfig ?. upload !== false ;
125
119
this . playwrightVersion = 'unknown' ;
126
120
127
121
this . webAssetsDir =
You can’t perform that action at this time.
0 commit comments