mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
move interface
This commit is contained in:
parent
1bf5cb73d1
commit
87923ad652
1 changed files with 7 additions and 7 deletions
|
@ -106,6 +106,13 @@ function splitLines(multilineString: string): string[] {
|
||||||
.filter(x => x !== '')
|
.filter(x => x !== '')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface CreateOrUpdateBranchResult {
|
||||||
|
action: string
|
||||||
|
base: string
|
||||||
|
hasDiffWithBase: boolean
|
||||||
|
headSha: string
|
||||||
|
}
|
||||||
|
|
||||||
export async function createOrUpdateBranch(
|
export async function createOrUpdateBranch(
|
||||||
git: GitCommandManager,
|
git: GitCommandManager,
|
||||||
commitMessage: string,
|
commitMessage: string,
|
||||||
|
@ -288,10 +295,3 @@ export async function createOrUpdateBranch(
|
||||||
|
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
interface CreateOrUpdateBranchResult {
|
|
||||||
action: string
|
|
||||||
base: string
|
|
||||||
hasDiffWithBase: boolean
|
|
||||||
headSha: string
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue