Skip to content

Commit

Permalink
Updated from main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbn committed Feb 15, 2023
2 parents 8c3df1d + ddfc996 commit 84d93a2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,13 @@ func realMain() int {
entry = info.Name()
}

if path == "." {
if config.Verbose {
fmt.Printf("%s is ignored, but traversed by stevedore by default\n", entry)
}
return nil
}

if ignoreObject.MatchesPath(path) {
if config.Excluded {
if config.Color {
Expand All @@ -250,13 +257,6 @@ func realMain() int {
}
} else {
if config.Included {
if path == "." {
if config.Verbose {
fmt.Printf("%s is ignored, but traversed by stevedore by default\n", entry)
}
return nil
}

if config.Color {
color.Set(includedColor)
}
Expand Down

0 comments on commit 84d93a2

Please sign in to comment.