Skip to content

Commit

Permalink
fix: logger nil pointer in instrumented_project_command_builder (runa…
Browse files Browse the repository at this point in the history
  • Loading branch information
jippi authored and lukemassa committed Apr 25, 2024
1 parent 565fd9d commit c76d84a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/events/project_command_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const (
)

func NewInstrumentedProjectCommandBuilder(
logger logging.SimpleLogging,
policyChecksSupported bool,
parserValidator *config.ParserValidator,
projectFinder ProjectFinder,
Expand Down
1 change: 1 addition & 0 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ func NewServer(userConfig UserConfig, config Config) (*Server, error) {
Router: router,
}
projectCommandBuilder := events.NewInstrumentedProjectCommandBuilder(
logger,
policyChecksEnabled,
validator,
&events.DefaultProjectFinder{},
Expand Down

0 comments on commit c76d84a

Please sign in to comment.