@@ -294,7 +294,7 @@ async function publish(
294294 let fileBuffer : Uint8Array ;
295295 let fileHash : string ;
296296 const path = join ( baseDirectory , attachmentPath ) ;
297-
297+
298298 trace (
299299 "uploadAttachment" ,
300300 {
@@ -317,7 +317,6 @@ async function publish(
317317 }
318318
319319 const fileName = pathWithForwardSlashes ( attachmentPath ) ;
320-
321320
322321 const existingDuplicateAttachment = existingAttachments . find (
323322 ( attachment : AttachmentSummary ) => {
@@ -343,8 +342,6 @@ async function publish(
343342 return attachment ;
344343 } ;
345344
346-
347-
348345 return attachmentsToUpload . map ( uploadAttachment ) ;
349346 } ;
350347
@@ -711,7 +708,6 @@ async function publish(
711708 }
712709 } ;
713710
714-
715711 for ( let currentChange of changeList ) {
716712 await doChange ( currentChange ) ;
717713 }
@@ -721,7 +717,6 @@ async function publish(
721717
722718 trace ( "changelist Pass 2" , pass2Changes ) ;
723719
724- // reload the existing site
725720 existingSite = await fetchExistingSite ( parentId ) ;
726721 metadataByFilename = buildFileToMetaTable ( existingSite ) ;
727722
@@ -731,7 +726,7 @@ async function publish(
731726 server ,
732727 parent
733728 ) ;
734-
729+
735730 for ( let currentChange of linkUpdateChanges ) {
736731 await doChange ( currentChange , false ) ;
737732 }
0 commit comments