filelist/*.List(): print to stdout when starting to generate FileList

This commit is contained in:
Clayton Craft
2023-02-17 23:30:17 -08:00
parent 14873015c0
commit a4be663e13
4 changed files with 8 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ func New(filePath string) *HookFiles {
}
func (h *HookFiles) List() ([]string, error) {
log.Println("- Including files")
fileInfo, err := os.ReadDir(h.filePath)
if err != nil {
return nil, fmt.Errorf("getHookFiles: unable to read hook file dir: %w", err)