backup all the files

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-10-27 06:35:37 -05:00
parent 3a9e77a4fb
commit 6b5323da11
1 changed files with 2 additions and 1 deletions

View File

@ -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
}