From cf26cef18d1b255c83e8cae62d86e1395e884b41 Mon Sep 17 00:00:00 2001 From: Emma Hamilton Date: Fri, 22 Nov 2024 09:04:34 +1000 Subject: [PATCH] Prettier --- packages/keystatic/src/api/api-node.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/keystatic/src/api/api-node.ts b/packages/keystatic/src/api/api-node.ts index c5a29c62a..a1b9d65cc 100644 --- a/packages/keystatic/src/api/api-node.ts +++ b/packages/keystatic/src/api/api-node.ts @@ -70,7 +70,11 @@ export async function handleGitHubAppCreation( KEYSTATIC_GITHUB_CLIENT_ID=${ghAppDataResult.client_id} KEYSTATIC_GITHUB_CLIENT_SECRET=${ghAppDataResult.client_secret} KEYSTATIC_SECRET=${randomBytes(40).toString('hex')} -${slugEnvVarName ? `${slugEnvVarName}=${ghAppDataResult.slug} # https://github.com/apps/${ghAppDataResult.slug}\n` : ''}`; +${ + slugEnvVarName + ? `${slugEnvVarName}=${ghAppDataResult.slug} # https://github.com/apps/${ghAppDataResult.slug}\n` + : '' +}`; let prevEnv: string | undefined; try {