Skip to content

Commit

Permalink
Cleaning Directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Woodfine committed Aug 30, 2023
1 parent 070684e commit c7174db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions build.cake
Expand Up @@ -13,6 +13,7 @@ Task("Clean")
}
else
{
CleanDirectories("./coverage");
DotNetClean("./PayBolt.sln");
}
});
Expand Down Expand Up @@ -96,6 +97,7 @@ Task("Test")
ArgumentCustomization = args => args.Append($"-reportTypes:Html;MarkdownSummaryGithub")
};
ReportGenerator(glob, summaryDirectory, summarySettings);
}
});

Expand Down
3 changes: 1 addition & 2 deletions src/Contracts/Currency.cs
Expand Up @@ -4,8 +4,7 @@ namespace PayBolt;

public class Currency : IComparable, IComparable<Currency>, IEquatable<Currency>
{

public long Value { get; }
private long Value { get; }

public Currency(decimal amount, Unit unit)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Contracts/Http/HttpClientHandlerOptions.cs
Expand Up @@ -2,7 +2,7 @@ namespace PayBolt.Http;

public class HttpClientHandlerOptions
{
public bool EnableSecure { get; set; }
public bool EnableSecure { get; init; }

public byte[] ThumbPrint { get; set; }
public byte[] ThumbPrint { get; init; }

Check warning on line 7 in src/Contracts/Http/HttpClientHandlerOptions.cs

View workflow job for this annotation

GitHub Actions / build

Non-nullable property 'ThumbPrint' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
}

0 comments on commit c7174db

Please sign in to comment.