restore previous functionality with new processing system
This commit is contained in:
parent
65b62ef9a6
commit
116fb6a883
3 changed files with 14 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue