Removed some logs from console about json files that are opened
This commit is contained in:
@@ -56,6 +56,7 @@ public class Config
|
||||
if (file is null) throw new FileLoadException("The file can not be null");
|
||||
if(!File.Exists(file))
|
||||
File.Create(file).Close();
|
||||
|
||||
_dictionary = PrivateReadConfig(file).GetAwaiter().GetResult();
|
||||
_file = file;
|
||||
}
|
||||
|
||||
@@ -101,7 +101,6 @@ public static class Functions
|
||||
/// <returns></returns>
|
||||
public static async Task<T> ConvertFromJson<T>(string input)
|
||||
{
|
||||
Console.WriteLine(input);
|
||||
Stream text;
|
||||
if (File.Exists(input))
|
||||
text = new MemoryStream(await File.ReadAllBytesAsync(input));
|
||||
|
||||
Reference in New Issue
Block a user