Skip to content

Commit 62ac975

Browse files
Fixed mod update messages
1 parent 0d6b1b3 commit 62ac975

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Source/HedgeModManager/Updates/HMMUpdateCommand.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public async Task ProcessAsync(string root, CancellationToken? c)
6666
string? parentDir = Path.GetDirectoryName(localPath);
6767
if (parentDir != null && !Directory.Exists(parentDir))
6868
{
69-
Logger.Debug($"Creating parent directory \"{parentDir}\"...");
69+
Logger.Debug($"Creating directory \"{parentDir}\"...");
7070
Directory.CreateDirectory(parentDir);
7171
}
7272
Logger.Debug($"Copying file \"{otherFileLocalPath}\" to \"{localPath}\"");
@@ -78,7 +78,8 @@ public async Task ProcessAsync(string root, CancellationToken? c)
7878
}
7979

8080
}
81-
Logger.Error("Extra data is not a file entry!");
81+
else
82+
Logger.Error("Extra data is not a file entry!");
8283
}
8384
catch (Exception e)
8485
{

0 commit comments

Comments
 (0)