diff options
| author | Jeff Carr <[email protected]> | 2024-10-27 06:35:37 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-27 06:35:37 -0500 |
| commit | 6b5323da11c5c47162d13784f170f37c2f6f74f1 (patch) | |
| tree | 7803c68ee0490b99d2054330d90bb24a6973491d | |
| parent | 3a9e77a4fb25bea7de28a29300c5ab032e6d4765 (diff) | |
backup all the files
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | backup.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 } |
