mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-05-24 08:18:52 -03:00
generator: drop platform-specific separator
Co-Authored-By: Lauris BH <lauris@nix.lv>
This commit is contained in:
parent
3a5f4b2db1
commit
b78e4423f0
@ -128,7 +128,7 @@ func getCommit(path string) (string, error) {
|
||||
}
|
||||
|
||||
if string(commit) == "ref: refs/heads/master\n" {
|
||||
path = filepath.Join(".linguist", ".git/", string(commit[5:len(commit)-1]))
|
||||
path = filepath.Join(".linguist", ".git", string(commit[5:len(commit)-1]))
|
||||
commit, err = ioutil.ReadFile(path)
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
Loading…
x
Reference in New Issue
Block a user