summaryrefslogtreecommitdiff
path: root/backup.go
diff options
context:
space:
mode:
Diffstat (limited to 'backup.go')
-rw-r--r--backup.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/backup.go b/backup.go
index adaa99c..df2e098 100644
--- a/backup.go
+++ b/backup.go
@@ -25,7 +25,8 @@ func backupFiles(srcDir string, destDir string) error {
}
// Skip if it's not a .test file or if it's a directory
- if filepath.Ext(path) != ".json" || info.IsDir() {
+ // if filepath.Ext(path) != ".json" || info.IsDir() {
+ if info.IsDir() {
return nil
}