Cleanup in context

This commit is contained in:
Mislav Marohnić 2020-08-07 14:51:48 +02:00
parent 47cef736f4
commit dbbf76df10
3 changed files with 1 additions and 85 deletions

View file

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