filelist/*: use "searching" instead of "including" in top-level msg
When this is printed, it's about to search the given path for stuff to slurp up, but it hasn't actually included anything yet. Using "Including" here was kinda confusing, so this changes it to use "Searching for." Hopefully that's better!
This commit is contained in:
@@ -26,7 +26,7 @@ func New(filePath string) *HookFiles {
|
||||
}
|
||||
|
||||
func (h *HookFiles) List() (*filelist.FileList, error) {
|
||||
log.Printf("- Including file lists from %s", h.filePath)
|
||||
log.Printf("- Searching for file lists from %s", h.filePath)
|
||||
|
||||
files := filelist.NewFileList()
|
||||
fileInfo, err := os.ReadDir(h.filePath)
|
||||
|
Reference in New Issue
Block a user