···77777878 // If the post is made up of a single image,
7979 // the text of the post appears to be associated with the only image present
8080- if ( post.media?.length == 1 ) {
8181- if( postText.length == 0) {
8080+ if (post.media?.length == 1) {
8181+ if (postText.length == 0) {
8282 postText = post.media[0].title;
8383 }
8484- if( postDate == undefined ) {
8484+ if (postDate == undefined) {
8585 postDate = new Date(post.media[0].creation_timestamp * 1000);
8686 }
8787 }
···132132 const mediaFilename = `${process.env.ARCHIVE_FOLDER}/${postMedia.uri}`;
133133 const imageBuffer = FS.readFileSync(mediaFilename);
134134135135- if( j>3 ) {
135135+ if (j > 3) {
136136 console.warn("Bluesky does not support more than 4 images per post, excess images will be discarded.")
137137 break;
138138 }
139139-140139141140 if (!SIMULATE) {
142141 const blobRecord = await agent.uploadBlob(imageBuffer, {