Apply gometalinter suggestions

This commit is contained in:
Manuel de Brito Fontes 2018-04-25 18:53:49 -03:00
parent 9533aa45cc
commit 9bf553559c
8 changed files with 19 additions and 32 deletions

View file

@ -135,9 +135,5 @@ func restoreAsset(dir, name string, fs Filesystem) error {
//Missing info.Mode()
err = fs.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
if err != nil {
return err
}
return nil
return fs.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
}