mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(directory): 🐛 fix path to data files
This commit is contained in:
parent
164c0888a3
commit
708055f40c
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ public static void HasDataJsonFile<TEntity>(this EntityTypeBuilder entityTypeBui
|
|||
{
|
||||
_ = entityTypeBuilder ?? throw new ArgumentNullException(nameof(entityTypeBuilder));
|
||||
|
||||
var path = Path.Combine("../../data", $"{typeof(TEntity).Name}.json");
|
||||
var path = Path.Combine("../data", $"{typeof(TEntity).Name}.json");
|
||||
if (!File.Exists(path)) return;
|
||||
|
||||
var entitiesJson = File.ReadAllText(path);
|
||||
|
|
|
|||
Loading…
Reference in a new issue