fixing Go Report Card issues

This commit is contained in:
Julien Neuhart
2018-12-10 16:57:08 +01:00
parent c9f0d3bfd8
commit 59ca8a44a0
4 changed files with 4 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ func Merge(fpaths []string, destination string) error {
func writeBytesToFile(dst string, b []byte) error {
if err := ioutil.WriteFile(dst, b, 0644); err != nil {
return fmt.Errorf("%s: writting file: %v", dst, err)
return fmt.Errorf("%s: writing file: %v", dst, err)
}
return nil
}