File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -269,16 +269,16 @@ export default class Queue {
269269 this . processingSnapshot = snapshot ?. name ;
270270 let drop = false ;
271271
272+ if ( ! this . ctx . config . delayedUpload && snapshot && snapshot . name && this . snapshotNames . includes ( snapshot . name ) ) {
273+ drop = true ;
274+ this . ctx . log . info ( `SmartUI snapshot failed; Same snapshot ${ snapshot . name } has been encountered with delayedUploads being false` ) ;
275+ }
276+
272277 if ( this . ctx . config . delayedUpload && snapshot && snapshot . name && this . snapshotNames . includes ( snapshot . name ) ) {
273- if ( ! this . ctx . config . delayedUpload ) {
274- drop = true ;
275- this . ctx . log . debug ( `snapshot failed; Same snapshot has been encountered with delayedUploads being false` ) ;
276- } else {
277- drop = this . filterExistingVariants ( snapshot , this . ctx . config ) ;
278- }
278+ drop = this . filterExistingVariants ( snapshot , this . ctx . config ) ;
279279 }
280280
281- if ( this . ctx . config . delayedUpload && snapshot && snapshot . name && ! this . snapshotNames . includes ( snapshot . name ) && ! drop ) {
281+ if ( snapshot && snapshot . name && ! this . snapshotNames . includes ( snapshot . name ) && ! drop ) {
282282 this . snapshotNames . push ( snapshot . name ) ;
283283 }
284284
You can’t perform that action at this time.
0 commit comments