Skip to content

Commit

Permalink
chore!: expect workflow to throw error on di resolving dep
Browse files Browse the repository at this point in the history
  • Loading branch information
cherrynik committed Sep 28, 2023
1 parent 481eacc commit 3627fcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Apps/GameDesktop/CompositionRoots/GameCompositionRoot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using LightInject;
using Microsoft.Xna.Framework;
using Serilog;
using Serilog.Core;

namespace GameDesktop.CompositionRoots;

Expand All @@ -23,7 +24,7 @@ private void RegisterGameServices(IServiceRegistry serviceRegistry)
serviceRegistry.Register(factory =>
{
Game game = new(
factory.GetInstance<ILogger>(),
factory.GetInstance<Logger>(),
factory.GetInstance<Contexts>(),
factory.GetInstance<IServiceContainer>()
) { IsMouseVisible = IsMouseVisible, Content = { RootDirectory = AppVariables.ContentRootDirectory, } };
Expand Down

0 comments on commit 3627fcd

Please sign in to comment.