You've already forked goreleaser
							
							
				mirror of
				https://github.com/goreleaser/goreleaser.git
				synced 2025-10-30 23:58:09 +02:00 
			
		
		
		
	refactor: use context
This commit is contained in:
		| @@ -8,7 +8,6 @@ import ( | ||||
|  | ||||
| 	"github.com/charmbracelet/keygen" | ||||
| 	"github.com/goreleaser/goreleaser/internal/git" | ||||
| 	"github.com/goreleaser/goreleaser/internal/testctx" | ||||
| 	"github.com/stretchr/testify/require" | ||||
| ) | ||||
|  | ||||
| @@ -103,7 +102,7 @@ func GitMakeBareRepository(tb testing.TB) string { | ||||
| 	tb.Helper() | ||||
| 	dir := tb.TempDir() | ||||
| 	_, err := git.Run( | ||||
| 		testctx.New(), | ||||
| 		context.Background(), | ||||
| 		"-C", dir, | ||||
| 		"-c", "init.defaultBranch=master", | ||||
| 		"init", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user