Skip to content

Commit

Permalink
Merge pull request #29 from circleci/absroot
Browse files Browse the repository at this point in the history
Don't skip if root is a dotfolder, i.e. .circleci
  • Loading branch information
Zachary Scott authored Jun 21, 2018
2 parents 6e485cd + e3145fc commit 33e1820
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 33e1820

Please sign in to comment.