added logging
Some checks failed
Java CI / test (push) Failing after 8s

This commit is contained in:
WeeXnes 2025-05-03 17:19:17 +02:00
parent 7f01a92677
commit dc89d32164

View file

@ -31,8 +31,16 @@ public static class Util
public static void CheckDir(string path)
{
if(!Directory.Exists(path))
Console.Info("Checking directory: " + path);
if (!Directory.Exists(path))
{
Console.Error("Directory " + path + " wasn't found, creating now.");
Directory.CreateDirectory(path);
}
else
{
Console.Success("Directory was found: " + path);
}
}
public static string FormatFileSize(long bytes)
{