diff options
Diffstat (limited to 'internal/build/util.go')
-rw-r--r-- | internal/build/util.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/build/util.go b/internal/build/util.go index 91465c419..c6e059f0d 100644 --- a/internal/build/util.go +++ b/internal/build/util.go @@ -89,8 +89,8 @@ func RunGit(args ...string) string { return strings.TrimSpace(stdout.String()) } -// ReadGitFile returns content of file in .git directory. -func ReadGitFile(file string) string { +// readGitFile returns content of file in .git directory. +func readGitFile(file string) string { content, err := ioutil.ReadFile(path.Join(".git", file)) if err != nil { return "" |