1
0
mirror of https://github.com/moby/buildkit.git synced 2025-04-18 18:04:03 +03:00
buildkit/source/git/source_unix_test.go
Marat Radchenko 0a5a80cfec Remove pre-Go 1.17 build tags
Signed-off-by: Marat Radchenko <marat@slonopotamus.org>
2024-11-21 10:58:27 +03:00

11 lines
201 B
Go

//go:build !windows
package git
import "syscall"
func init() {
// Reset umask to zero to match buildkitd and to make sure the tests do not rely on standard umask from the host.
syscall.Umask(0)
}