Skip to content

Commit

Permalink
Bump jetbrains.resharper.globaltools from 2024.1.1 to 2024.1.2 (#1542)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored May 9, 2024
1 parent 985504f commit 17cb827
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"jetbrains.resharper.globaltools": {
"version": "2024.1.1",
"version": "2024.1.2",
"commands": [
"jb"
]
Expand Down
2 changes: 1 addition & 1 deletion src/JsonApiDotNetCore/CollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static bool DictionaryEqual<TKey, TValue>(this IReadOnlyDictionary<TKey,

public static IEnumerable<T> EmptyIfNull<T>(this IEnumerable<T>? source)
{
return source ?? Enumerable.Empty<T>();
return source ?? [];
}

public static IEnumerable<T> WhereNotNull<T>(this IEnumerable<T?> source)
Expand Down

0 comments on commit 17cb827

Please sign in to comment.