Skip to content

Commit

Permalink
Don't skip if root is a dotfolder, i.e. .circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Scott committed Jun 21, 2018
1 parent 6001270 commit e3145fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filetree/filetree.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func NewTree(root string, specialCase func(path string) bool) (*Node, error) {
}

// Skip any dotfolders automatically
if root != path && dotfolder(info) {
if absroot != path && dotfolder(info) {
// Turn off logging to stdout in this package
//fmt.Printf("Skipping dotfolder: %+v\n", path)
return filepath.SkipDir
Expand Down

0 comments on commit e3145fc

Please sign in to comment.