Skip to content

Commit

Permalink
Fixed failure archiving to update.
Browse files Browse the repository at this point in the history
  • Loading branch information
kekyo committed May 23, 2024
1 parent b729db3 commit 447563e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chibiar/chibiar.core/Archiver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ internal AddResults Run(
Path.GetFileName(objectFilePath);
var dateTime = File.GetLastWriteTime(objectFilePath);
if (isUpdateMode &&
if (isUpdateMode && isUpdateArchive &&
archive.Entries.FirstOrDefault(e => e.FullName == fileName) is { } entry)
{
if (entry.LastWriteTime < dateTime)
Expand Down

0 comments on commit 447563e

Please sign in to comment.