Skip to content

Commit

Permalink
Implemented ignoring and not suggesting . for inclusion in .dockerignore
Browse files Browse the repository at this point in the history
Closed #19
  • Loading branch information
jonasbn committed Feb 15, 2023
1 parent f94593e commit edb5b21
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 edb5b21

Please sign in to comment.