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 -}