Skip to content

Commit

Permalink
Improve how filter execution is being logged
Browse files Browse the repository at this point in the history
  • Loading branch information
stirante committed Sep 25, 2021
1 parent 26ebc58 commit eded92c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions regolith/filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func RegisterFilters() {
// absoluteLocation is an absolute path to the root folder of the filter.
// In case of local filters it's a root path of the project.
func (filter *Filter) RunFilter(absoluteLocation string) error {
Logger.Infof("%s...", filter.GetName())
Logger.Info(filter.GetName())
start := time.Now()

if filter.Url != "" {
Expand All @@ -52,7 +52,6 @@ func (filter *Filter) RunFilter(absoluteLocation string) error {
}
Logger.Debugf("Executed in %s", time.Since(start))
}
Logger.Infof("%s done", filter.GetName())
return nil
}

Expand Down

0 comments on commit eded92c

Please sign in to comment.