Skip to content

Commit

Permalink
Fix nullable reference types
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed committed Mar 12, 2021
1 parent 659a0c9 commit 6a5b1d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Boxed.AspNetCore/Cursor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static class Cursor
/// <typeparam name="T">The type of the cursor value.</typeparam>
/// <param name="cursor">The cursor.</param>
/// <returns>The cursor value.</returns>
public static T? FromCursor<T>(string cursor)
public static T? FromCursor<T>(string? cursor)
{
if (string.IsNullOrEmpty(cursor))
{
Expand Down
4 changes: 2 additions & 2 deletions Source/Boxed.DotnetNewTest/ProjectExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public static async Task DotnetRunAsync(
public static async Task DotnetRunAsync(
this Project project,
string projectRelativeDirectoryPath,
Func<HttpClient, HttpClient?, Task<bool>> readinessCheck,
Func<HttpClient, HttpClient, Task<bool>> readinessCheck,
Func<HttpClient, HttpClient, Task> action,
bool? noRestore = true,
Func<HttpRequestMessage, X509Certificate2?, X509Chain?, SslPolicyErrors, bool>? validateCertificate = null,
Expand Down Expand Up @@ -326,7 +326,7 @@ public static async Task DotnetRunAsync(

var projectFilePath = Path.Combine(project.DirectoryPath, projectRelativeDirectoryPath);
var dotnetRun = await DotnetRunInternalAsync(
readinessCheck,
readinessCheck!,
httpClient,
httpsClient,
projectFilePath,
Expand Down

0 comments on commit 6a5b1d1

Please sign in to comment.