diff options
Diffstat (limited to 'internal/queue/queue.go')
| -rw-r--r-- | internal/queue/queue.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/internal/queue/queue.go b/internal/queue/queue.go index ddd3136..f46e7a6 100644 --- a/internal/queue/queue.go +++ b/internal/queue/queue.go @@ -27,6 +27,7 @@ func Run(args config.Args) error { } // Queue all *.txt into ./db/*.txt.STAMP.queued +// TODO: This doesn't work correctly yet, neet to test it more! func queueEntries(args config.Args) error { ch, err := oi.ReadDirCh(args.GosDir, func(file os.DirEntry) (string, bool) { filePath := filepath.Join(args.GosDir, file.Name()) @@ -77,10 +78,10 @@ func queuePlatforms(args config.Args) error { if args.DryRun { continue } - log.Println("Removing", filePath) - if err := os.Remove(filePath); err != nil { - return err - } + // log.Println("Removing", filePath) + // if err := os.Remove(filePath); err != nil { + // return err + // } } return nil |
