From 6b5323da11c5c47162d13784f170f37c2f6f74f1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 27 Oct 2024 06:35:37 -0500 Subject: [PATCH] backup all the files Signed-off-by: Jeff Carr --- backup.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }