update to ignore appsettings.migration.json
This commit is contained in:
@@ -37,6 +37,7 @@ try
|
|||||||
Directory
|
Directory
|
||||||
.GetFiles(builder.Environment.ContentRootPath, "appsettings.*.json", SearchOption.TopDirectoryOnly)
|
.GetFiles(builder.Environment.ContentRootPath, "appsettings.*.json", SearchOption.TopDirectoryOnly)
|
||||||
.Where(file => Path.GetFileName(file) != $"appsettings.Development.json")
|
.Where(file => Path.GetFileName(file) != $"appsettings.Development.json")
|
||||||
|
.Where(file => Path.GetFileName(file) != $"appsettings.migration.json")
|
||||||
.ToList()
|
.ToList()
|
||||||
.ForEach(file => config.AddJsonFile(file, true, true));
|
.ForEach(file => config.AddJsonFile(file, true, true));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user