Skip to content

Commit

Permalink
trying out more
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Mar 3, 2021
1 parent 4051576 commit fb241f4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
20 changes: 11 additions & 9 deletions processor/file.go
Expand Up @@ -171,19 +171,21 @@ DIRENTS:
}
}

//for _, ignore := range ignores {
// if ignore.Match(path, isDir) {
// if Verbose {
// printWarn("skipping directory due to ignore: " + path)
// }
// continue DIRENTS
// }
//}
for _, ignore := range ignores {
if ignore.Match(path, isDir) {
if Verbose {
printWarn("skipping file/directory due to ignore: " + path)
fmt.Println(">>>", isDir)
}
continue DIRENTS
}
}

for _, ignore := range gitignores {
if ignore.Match(path) {
if Verbose {
printWarn("2 skipping directory due to ignore: " + path)
printWarn("2 skipping file/directory due to ignore: " + path)
fmt.Println("2>>>", isDir)
}
continue DIRENTS
}
Expand Down
2 changes: 1 addition & 1 deletion processor/processor.go
Expand Up @@ -18,7 +18,7 @@ import (
)

// Version indicates the version of the application
var Version = "3.0.0"
var Version = "3.1.0 (alpha)"

// Flags set via the CLI which control how the output is displayed

Expand Down

0 comments on commit fb241f4

Please sign in to comment.