Skip to content

Commit de2d970

Browse files
style: fix ts formating
1 parent 4a91aef commit de2d970

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

lambdas/functions/control-plane/src/aws/runners.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,10 @@ describe('create runner with errors', () => {
459459

460460
it('test ScaleError with custom scale error.', async () => {
461461
createFleetMockWithErrors(['CustomAWSError']);
462-
463-
await expect(createRunner(createRunnerConfig({ ...defaultRunnerConfig, customScaleErrors: ['CustomAWSError'] }))).rejects.toBeInstanceOf(ScaleError);
462+
463+
await expect(
464+
createRunner(createRunnerConfig({ ...defaultRunnerConfig, customScaleErrors: ['CustomAWSError'] })),
465+
).rejects.toBeInstanceOf(ScaleError);
464466
expect(mockEC2Client).toHaveReceivedCommandWith(
465467
CreateFleetCommand,
466468
expectedCreateFleetRequest(defaultExpectedFleetRequestValues),

lambdas/functions/control-plane/src/pool/pool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export async function adjust(event: PoolEvent): Promise<void> {
9898
amiIdSsmParameterName,
9999
tracingEnabled,
100100
onDemandFailoverOnError,
101-
customScaleErrors
101+
customScaleErrors,
102102
},
103103
topUp,
104104
githubInstallationClient,

0 commit comments

Comments
 (0)