@@ -4,10 +4,7 @@ import {
44 ListStacksCommand ,
55} from '@aws-sdk/client-cloudformation' ;
66import type { StackSummary } from '@aws-sdk/client-cloudformation' ;
7- import {
8- DescribeLogGroupsCommand ,
9- DescribeLogGroupsCommandInput ,
10- } from '@aws-sdk/client-cloudwatch-logs' ;
7+ import { DescribeLogGroupsCommand , DescribeLogGroupsCommandInput } from '@aws-sdk/client-cloudwatch-logs' ;
118import type { LogGroup } from '@aws-sdk/client-cloudwatch-logs' ;
129import { DescribeTasksCommand , ListClustersCommand , ListTasksCommand } from '@aws-sdk/client-ecs' ;
1310import type { Task } from '@aws-sdk/client-ecs' ;
@@ -104,9 +101,7 @@ export class TaskService {
104101 {
105102 let nextToken : string | undefined ;
106103 do {
107- const taskResponse = await ecs . send (
108- new ListTasksCommand ( { cluster : element , nextToken } ) ,
109- ) ;
104+ const taskResponse = await ecs . send ( new ListTasksCommand ( { cluster : element , nextToken } ) ) ;
110105 taskArns . push ( ...( taskResponse . taskArns ?? [ ] ) ) ;
111106 nextToken = taskResponse . nextToken ;
112107 } while ( nextToken ) ;
@@ -206,7 +201,9 @@ export class TaskService {
206201 public static async getLocks ( ) : Promise < Array < { Key : string } > > {
207202 process . env . AWS_REGION = Input . region ;
208203 if ( CloudRunner . buildParameters . storageProvider === 'rclone' ) {
209- const objects = await ( SharedWorkspaceLocking as unknown as { listObjects ( prefix : string ) : Promise < string [ ] > } ) . listObjects ( '' ) ;
204+ const objects = await (
205+ SharedWorkspaceLocking as unknown as { listObjects ( prefix : string ) : Promise < string [ ] > }
206+ ) . listObjects ( '' ) ;
210207 return objects . map ( ( x : string ) => ( { Key : x } ) ) ;
211208 }
212209 const s3 = AwsClientFactory . getS3 ( ) ;
0 commit comments