diff --git a/server/events/project_command_builder.go b/server/events/project_command_builder.go index 6868635324..ba0bd05b8b 100644 --- a/server/events/project_command_builder.go +++ b/server/events/project_command_builder.go @@ -36,6 +36,7 @@ const ( ) func NewInstrumentedProjectCommandBuilder( + logger logging.SimpleLogging, policyChecksSupported bool, parserValidator *config.ParserValidator, projectFinder ProjectFinder, diff --git a/server/server.go b/server/server.go index 8d05a4633b..4bd22feffe 100644 --- a/server/server.go +++ b/server/server.go @@ -578,6 +578,7 @@ func NewServer(userConfig UserConfig, config Config) (*Server, error) { Router: router, } projectCommandBuilder := events.NewInstrumentedProjectCommandBuilder( + logger, policyChecksEnabled, validator, &events.DefaultProjectFinder{},