Archived
Various style fixes
This commit is contained in:
1 parent
12d69e25dd
commit
9d07aa006d
13 files changed
+78
-82
No files matched your search
@@ -62,9 +62,8 @@ func (v Simple) Archive(filePath string) error {
|
||||
l.Debugln("not archiving nonexistent file", filePath)
|
||||
}
|
||||
return nil
|
||||
} else {
|
||||
return err
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
versionsDir := filepath.Join(v.folderPath, ".stversions")
|
||||
|
||||
@@ -294,9 +294,8 @@ func (v Staggered) Archive(filePath string) error {
|
||||
l.Debugln("not archiving nonexistent file", filePath)
|
||||
}
|
||||
return nil
|
||||
} else {
|
||||
return err
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
if _, err := os.Stat(v.versionsPath); err != nil {
|
||||
|
||||
Reference in new issue
Block a user