mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(directory): 🐛 fix path to data dir
This commit is contained in:
parent
440ecd4b62
commit
4e5cfc0f68
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue