Skip to content
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

Commit 61eab7e

Browse files
committed
Log choice
1 parent 6ec1c61 commit 61eab7e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/Commands/CommandOpenMod.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ private void OnCommandWindowInputted(string text, ref bool shouldExecuteCommand)
8080

8181
try
8282
{
83+
Logger.Log($"Choice {text}");
8384
s_CurrentStep.OnChoice(text);
8485
s_CurrentStep = GetNextStep();
8586

src/Jobs/OpenModAssemblyLoadJob.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ public void ExecuteMigration(string[] args)
4545
}
4646

4747
var moduleDirectory = OpenModInstallerPlugin.Instance.OpenModManager.ModuleDirectory;
48-
foreach (var dllpath in Directory.GetFiles(moduleDirectory, "*.dll", SearchOption.TopDirectoryOnly))
48+
foreach (var dllPath in Directory.GetFiles(moduleDirectory, "*.dll", SearchOption.TopDirectoryOnly))
4949
{
50-
var asm = Assembly.Load(File.ReadAllBytes(dllpath));
50+
var asm = Assembly.Load(File.ReadAllBytes(dllPath));
5151

5252
var name = GetVersionIndependentName(asm.FullName);
5353
if (s_LoadedAssemblies.ContainsKey(name))

0 commit comments

Comments
 (0)