Skip to content

Commit a1c2acb

Browse files
style: fix ts formating
1 parent c48513a commit a1c2acb

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
@@ -460,8 +460,10 @@ describe('create runner with errors', () => {
460460

461461
it('test ScaleError with custom scale error.', async () => {
462462
createFleetMockWithErrors(['CustomAWSError']);
463-
464-
await expect(createRunner(createRunnerConfig({ ...defaultRunnerConfig, customScaleErrors: ['CustomAWSError'] }))).rejects.toBeInstanceOf(ScaleError);
463+
464+
await expect(
465+
createRunner(createRunnerConfig({ ...defaultRunnerConfig, customScaleErrors: ['CustomAWSError'] })),
466+
).rejects.toBeInstanceOf(ScaleError);
465467
expect(mockEC2Client).toHaveReceivedCommandWith(
466468
CreateFleetCommand,
467469
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)