vendor: update git-module

This commit is contained in:
Unknwon
2017-02-14 17:21:55 -05:00
parent 0f32aeec70
commit a0253cab62
2 changed files with 4 additions and 3 deletions

View File

@@ -84,6 +84,7 @@ func (h *Hook) Update() error {
}
return nil
}
os.MkdirAll(path.Dir(h.path), os.ModePerm)
return ioutil.WriteFile(h.path, []byte(strings.Replace(h.Content, "\r", "", -1)), os.ModePerm)
}