Skip to content

Commit f22ec54

Browse files
committed
Skipping commented out lines.
1 parent 233a6b0 commit f22ec54

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

path_helper.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ func (p *PathHelper) gatherPathDirs() error {
6262

6363
for _, directory := range directories {
6464
p.logger("\t- '%s'", directory)
65+
if strings.HasPrefix(directory, "#") {
66+
continue
67+
}
6568
if p.config.SkipNotFound && !dirExists(directory) {
6669
p.logger("[WARN] Directory '%s' (%s) is not found! Skipping.", directory, file)
6770
continue

0 commit comments

Comments
 (0)