Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Nov 21, 2024
1 parent b33b159 commit cf26cef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/keystatic/src/api/api-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit cf26cef

Please sign in to comment.