restore previous functionality with new processing system

This commit is contained in:
Daniel Fichtinger 2025-03-18 00:15:59 -04:00
parent 65b62ef9a6
commit 116fb6a883
3 changed files with 14 additions and 2 deletions

View file

@ -53,7 +53,9 @@ func processFile(inPath string, entry fs.DirEntry, err error, outRoot string, se
var toProcess bool
var outPath string
var ext string
if !entry.IsDir() {
if entry.IsDir() {
return nil
} else {
ext = filepath.Ext(inPath)
outPath = util.ReplaceRoot(inPath, outRoot)
// NOTE: This could be an if statement, but keeping