Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 6aa1102

Browse files
committed
Fixed warning in DiffService.cs.
1 parent ea9fb70 commit 6aa1102

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitHub.InlineReviews/Services/DiffService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public async Task<IReadOnlyList<DiffChunk>> Diff(
3939
}
4040
else
4141
{
42-
return new DiffChunk[0];
42+
return Array.Empty<DiffChunk>();
4343
}
4444
}
4545

@@ -59,7 +59,7 @@ public async Task<IReadOnlyList<DiffChunk>> Diff(
5959
}
6060
else
6161
{
62-
return new DiffChunk[0];
62+
return Array.Empty<DiffChunk>();
6363
}
6464
}
6565
}

0 commit comments

Comments
 (0)