Fix missing flatbuffer directory.
This commit is contained in:
parent
05fd417158
commit
217f53a148
@ -128,6 +128,9 @@ namespace Toolbox.Library.IO
|
||||
|
||||
private static string GenerateBinFrom<T>(T obj, string fbs)
|
||||
{
|
||||
if (!Directory.Exists(FlatPath))
|
||||
Directory.CreateDirectory(FlatPath);
|
||||
|
||||
var fbsName = fbs + ".fbs";
|
||||
var jsonName = fbs + ".json";
|
||||
var text = WriteJson(obj);
|
||||
|
Loading…
x
Reference in New Issue
Block a user