move interface

This commit is contained in:
Peter Evans 2022-11-29 13:33:10 +09:00
parent 1bf5cb73d1
commit 87923ad652

View file

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