File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ export default class Queue {
269269 this . processingSnapshot = snapshot ?. name ;
270270 let drop = false ;
271271
272- if ( snapshot && snapshot . name && this . snapshotNames . includes ( snapshot . name ) ) {
272+ if ( this . ctx . config . delayedUpload && snapshot && snapshot . name && this . snapshotNames . includes ( snapshot . name ) ) {
273273 if ( ! this . ctx . config . delayedUpload ) {
274274 drop = true ;
275275 this . ctx . log . debug ( `snapshot failed; Same snapshot has been encountered with delayedUploads being false` ) ;
@@ -278,11 +278,11 @@ export default class Queue {
278278 }
279279 }
280280
281- if ( snapshot && snapshot . name && ! this . snapshotNames . includes ( snapshot . name ) && ! drop ) {
281+ if ( this . ctx . config . delayedUpload && snapshot && snapshot . name && ! this . snapshotNames . includes ( snapshot . name ) && ! drop ) {
282282 this . snapshotNames . push ( snapshot . name ) ;
283283 }
284284
285- if ( snapshot && ! drop ) {
285+ if ( this . ctx . config . delayedUpload && snapshot && ! drop ) {
286286 this . processGenerateVariants ( snapshot ) ;
287287 }
288288
You can’t perform that action at this time.
0 commit comments