Skip to content

Commit 08a4f42

Browse files
committed
Fix unit test
1 parent 235f252 commit 08a4f42

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Src/FakeApi/ConfigIO.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ public static void MergeApis(Config config, string configSource)
7878
foreach (var file in Directory.GetFiles(directory).Except(new List<string> { configSource }))
7979
{
8080
var apis = LoadConfig(file).Apis;
81+
if(apis == null)
82+
{
83+
continue;
84+
}
8185
if(config.Apis == null)
8286
{
8387
config.Apis = new List<ApiConfig>();

0 commit comments

Comments
 (0)