From cd6ab5355e73b24f4395a55aadc97f388a0a3506 Mon Sep 17 00:00:00 2001 From: "Lukas Fruntke (external expert on behalf of DB Netz)" Date: Tue, 4 Apr 2023 12:03:39 +0200 Subject: [PATCH] Fix compilation issue Signed-off-by: Lukas Fruntke (external expert on behalf of DB Netz) --- .../src/scaffolder/actions/builtin/github/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/scaffolder-backend/src/scaffolder/actions/builtin/github/helpers.ts b/plugins/scaffolder-backend/src/scaffolder/actions/builtin/github/helpers.ts index ab5710facd..4d6f585ac5 100644 --- a/plugins/scaffolder-backend/src/scaffolder/actions/builtin/github/helpers.ts +++ b/plugins/scaffolder-backend/src/scaffolder/actions/builtin/github/helpers.ts @@ -307,7 +307,7 @@ export async function initRepoPushAndProtect( ? gitCommitMessage : config.getOptionalString('scaffolder.defaultCommitMessage'); - const commitHash = await initRepoAndPush({ + const { commitHash } = await initRepoAndPush({ dir: getRepoSourceDirectory(workspacePath, sourcePath), remoteUrl, defaultBranch,