@@ -72,8 +72,8 @@ async function main() {
7272 choices : [
7373 "test-letter-large" ,
7474 "test-letter-standard" ,
75- "none" , //none exists to specify letter without pdf for error testing scenarios
76- ]
75+ "none" , // none exists to specify letter without pdf for error testing scenarios
76+ ] ,
7777 } ,
7878 } ,
7979 async ( argv ) => {
@@ -87,7 +87,7 @@ async function main() {
8787 const { environment } = argv ;
8888 const { ttlHours } = argv ;
8989 const letterRepository = createLetterRepository ( environment , ttlHours ) ;
90- const testLetter = argv . testLetter ;
90+ const { testLetter } = argv ;
9191
9292 createLetter ( {
9393 letterId,
@@ -98,7 +98,7 @@ async function main() {
9898 specificationId,
9999 status : status as LetterStatusType ,
100100 letterRepository,
101- testLetter
101+ testLetter,
102102 } ) ;
103103 } ,
104104 )
@@ -119,7 +119,7 @@ async function main() {
119119 demandOption : true ,
120120 choices : [
121121 "820178564574" , // Supplier Dev
122- "885964308133" //Supplier Nonprod
122+ "885964308133" , // Supplier Nonprod
123123 ] ,
124124 } ,
125125 "group-id" : {
@@ -162,8 +162,8 @@ async function main() {
162162 choices : [
163163 "test-letter-large" ,
164164 "test-letter-standard" ,
165- "none" , //none exists to specify letter without pdf for error testing scenarios
166- ]
165+ "none" , // none exists to specify letter without pdf for error testing scenarios
166+ ] ,
167167 } ,
168168 } ,
169169 async ( argv ) => {
@@ -188,7 +188,7 @@ async function main() {
188188 const url = `s3://${ bucketName } /${ folder } /${ targetFilename } ` ;
189189
190190 // Upload a test file for this batch if it is not an 'none' batch
191- if ( testLetter !== ' none' ) {
191+ if ( testLetter !== " none" ) {
192192 await uploadFile (
193193 bucketName ,
194194 folder ,
0 commit comments