Skip to content

Commit 04abb78

Browse files
authored
refactor: export systemFileFiltering Post Handler (#9359)
1 parent e2d30fe commit 04abb78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/fanal/handler/sysfile/filter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
)
1313

1414
func init() {
15-
handler.RegisterPostHandlerInit(types.SystemFileFilteringPostHandler, newSystemFileFilteringPostHandler)
15+
handler.RegisterPostHandlerInit(types.SystemFileFilteringPostHandler, NewSystemFileFilteringPostHandler)
1616
}
1717

1818
const version = 1
@@ -27,7 +27,7 @@ var defaultSystemFiles = []string{
2727

2828
type systemFileFilteringPostHandler struct{}
2929

30-
func newSystemFileFilteringPostHandler(artifact.Option) (handler.PostHandler, error) {
30+
func NewSystemFileFilteringPostHandler(artifact.Option) (handler.PostHandler, error) {
3131
return systemFileFilteringPostHandler{}, nil
3232
}
3333

0 commit comments

Comments
 (0)