Skip to content

Commit 031b117

Browse files
committed
Fix prettier.
1 parent 1618688 commit 031b117

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/v2/options.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ export interface EventHandlerOptions extends Omit<GlobalOptions, "enforceAppChec
300300
* @internal
301301
*/
302302
export function optionsToTriggerAnnotations(
303-
opts: GlobalOptions | EventHandlerOptions | HttpsOptions,
303+
opts: GlobalOptions | EventHandlerOptions | HttpsOptions
304304
): TriggerAnnotation {
305305
const annotation: TriggerAnnotation = {};
306306
copyIfPresent(
@@ -313,7 +313,7 @@ export function optionsToTriggerAnnotations(
313313
"labels",
314314
"vpcConnector",
315315
"vpcConnectorEgressSettings",
316-
"secrets",
316+
"secrets"
317317
);
318318
convertIfPresent(annotation, opts, "availableMemoryMb", "memory", (mem: MemoryOption) => {
319319
return MemoryOptionToMB[mem];
@@ -329,7 +329,7 @@ export function optionsToTriggerAnnotations(
329329
opts,
330330
"serviceAccountEmail",
331331
"serviceAccount",
332-
serviceAccountFromShorthand,
332+
serviceAccountFromShorthand
333333
);
334334
convertIfPresent(annotation, opts, "timeout", "timeoutSeconds", durationFromSeconds);
335335
convertIfPresent(
@@ -339,7 +339,7 @@ export function optionsToTriggerAnnotations(
339339
"retry",
340340
(retry: boolean) => {
341341
return retry ? { retry: true } : null;
342-
},
342+
}
343343
);
344344

345345
return annotation;
@@ -350,7 +350,7 @@ export function optionsToTriggerAnnotations(
350350
* @internal
351351
*/
352352
export function optionsToEndpoint(
353-
opts: GlobalOptions | EventHandlerOptions | HttpsOptions,
353+
opts: GlobalOptions | EventHandlerOptions | HttpsOptions
354354
): ManifestEndpoint {
355355
const endpoint: ManifestEndpoint = {};
356356
copyIfPresent(
@@ -363,7 +363,7 @@ export function optionsToEndpoint(
363363
"ingressSettings",
364364
"labels",
365365
"timeoutSeconds",
366-
"cpu",
366+
"cpu"
367367
);
368368
convertIfPresent(endpoint, opts, "serviceAccountEmail", "serviceAccount");
369369
if (opts.vpcConnector !== undefined) {
@@ -381,10 +381,10 @@ export function optionsToEndpoint(
381381
"availableMemoryMb",
382382
"memory",
383383
(
384-
mem: MemoryOption | Expression<number> | ResetValue | null,
384+
mem: MemoryOption | Expression<number> | ResetValue | null
385385
): number | Expression<number> | null | ResetValue => {
386386
return typeof mem === "object" ? mem : MemoryOptionToMB[mem];
387-
},
387+
}
388388
);
389389
convertIfPresent(endpoint, opts, "region", "region", (region) => {
390390
if (typeof region === "string") {
@@ -398,7 +398,7 @@ export function optionsToEndpoint(
398398
"secretEnvironmentVariables",
399399
"secrets",
400400
(secrets: (string | SecretParam)[]) =>
401-
secrets.map((secret) => ({ key: secret instanceof SecretParam ? secret.name : secret })),
401+
secrets.map((secret) => ({ key: secret instanceof SecretParam ? secret.name : secret }))
402402
);
403403

404404
return endpoint;

0 commit comments

Comments
 (0)