Skip to content

Commit

Permalink
Fix AccessTransformers error when ini file is empty (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarno458 authored Nov 9, 2024
1 parent aeb0ae6 commit e560002
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static void Load(UhtSession session)
{
var accessTransformers = new ConfigFile(accessTransformersFile, ConfigLineAction.Add);
accessTransformers.TryGetSection("AccessTransformers", out var section);
section!.Lines.ForEach((line) =>
section?.Lines.ForEach((line) =>
{
switch (line.Key)
{
Expand Down

0 comments on commit e560002

Please sign in to comment.