Skip to content

Commit

Permalink
Merge pull request #22 from jonasbn/issue19
Browse files Browse the repository at this point in the history
Implemented ignoring and not suggesting . for inclusion in .dockerignore
  • Loading branch information
jonasbn authored Feb 15, 2023
2 parents f94593e + edb5b21 commit a1eeed7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,14 @@ func realMain() int {
}
} else {
if included {

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

if colorOutput {
color.Set(includedColor)
}
Expand Down

0 comments on commit a1eeed7

Please sign in to comment.