filelist/*.List(): print to stdout when starting to generate FileList
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user