Skip to content

Commit

Permalink
Turn off logging in this package
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Scott committed Jun 20, 2018
1 parent 8384053 commit 76bb4d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions filetree/filetree.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package filetree

import (
"fmt"
"io/ioutil"
"os"
"path/filepath"
Expand Down Expand Up @@ -141,7 +140,7 @@ func NewTree(root string, specialCase func(path string) bool) (*Node, error) {
// Skip any dotfolders automatically
if root != path && dotfolder(info) {
// Turn off logging to stdout in this package
fmt.Printf("Skipping dotfolder: %+v\n", path)
//fmt.Printf("Skipping dotfolder: %+v\n", path)
return filepath.SkipDir
}

Expand Down

0 comments on commit 76bb4d6

Please sign in to comment.