fix(directory): 🐛 fix path to data dir

This commit is contained in:
Collin M. Barrett 2020-08-27 07:49:34 -05:00
parent 440ecd4b62
commit 4e5cfc0f68

View file

@ -24,7 +24,7 @@ public static void HasDataJsonFile<TEntity>(this OwnedNavigationBuilder ownedNav
private static IEnumerable<TEntity> GetEntities<TEntity>()
{
var path = Path.Combine("../../../data", $"{typeof(TEntity).Name}.json");
var path = Path.Combine("../../data", $"{typeof(TEntity).Name}.json");
if (!File.Exists(path)) return new HashSet<TEntity>();
var entitiesJson = File.ReadAllText(path);