Skip to content

Commit

Permalink
Remove check that was causing problems
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoes1286 authored Jan 26, 2024
1 parent 0c44a92 commit 469bc15
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Deliter/Converter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -362,11 +362,6 @@ private void Convert(string path, string name)
{
string directory = Path.GetDirectoryName(path)!;
string project = Path.Combine(directory, "project.yaml");
if (File.Exists(project) && File.GetLastWriteTimeUtc(path) <= File.GetLastWriteTimeUtc(project))
{
LogDebug($"Skipping '{path}' because the project.yaml was editted last");
return;
}

string resources = Path.Combine(directory, "resources");

Expand Down Expand Up @@ -417,8 +412,6 @@ private void Convert(string path, string name)
if (!partial)
// So we don't run again next launch
File.Delete(path);
else
File.SetLastWriteTimeUtc(path, File.GetLastWriteTimeUtc(project));

LogInfo($"Converted '{name}' to a Mason project");
}
Expand Down

0 comments on commit 469bc15

Please sign in to comment.