Cleanup in context
This commit is contained in:
parent
47cef736f4
commit
dbbf76df10
3 changed files with 1 additions and 85 deletions
|
|
@ -29,11 +29,6 @@ const defaultTestConfig = `hosts:
|
|||
func initBlankContext(cfg, repo, branch string) {
|
||||
initContext = func() context.Context {
|
||||
ctx := context.NewBlank()
|
||||
ctx.SetBaseRepo(repo)
|
||||
ctx.SetBranch(branch)
|
||||
ctx.SetRemotes(map[string]string{
|
||||
"origin": "OWNER/REPO",
|
||||
})
|
||||
|
||||
if cfg == "" {
|
||||
cfg = defaultTestConfig
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue