From 87923ad65256ba53d7c454f0cc34dd22c2172f4e Mon Sep 17 00:00:00 2001 From: Peter Evans <18365890+peter-evans@users.noreply.github.com> Date: Tue, 29 Nov 2022 13:33:10 +0900 Subject: [PATCH] move interface --- src/create-or-update-branch.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/create-or-update-branch.ts b/src/create-or-update-branch.ts index dab0a98..b687356 100644 --- a/src/create-or-update-branch.ts +++ b/src/create-or-update-branch.ts @@ -106,6 +106,13 @@ function splitLines(multilineString: string): string[] { .filter(x => x !== '') } +interface CreateOrUpdateBranchResult { + action: string + base: string + hasDiffWithBase: boolean + headSha: string +} + export async function createOrUpdateBranch( git: GitCommandManager, commitMessage: string, @@ -288,10 +295,3 @@ export async function createOrUpdateBranch( return result } - -interface CreateOrUpdateBranchResult { - action: string - base: string - hasDiffWithBase: boolean - headSha: string -}