-
Notifications
You must be signed in to change notification settings - Fork 450
4320 enable warnings as errors and fix any issues #4351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4320 enable warnings as errors and fix any issues #4351
Conversation
@aishwaryabh @liliankasem please review when you have a moment. |
src/Cli/func/Actions/HostActions/WebHost/Security/CliAuthenticationHandler.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The all of the csproj's need to be updated to enable warnings as errors as well after making these changes
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
@aishwaryabh updating Below is the screenshot after updating in Directory.Build.Common.props |
|
public CliAuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) | ||
: base(options, logger, encoder, clock) | ||
public CliAuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder, TimeProvider timeProvider) | ||
: base(options, logger, encoder) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we not want to update the base to also taken in a time provider?
closing this because we created a new PR with refresh branch from main : #4365 |
Issue describing the changes in this PR
Fixing error by enabling warnings as errors using branch feature/foundation
resolves #4320
Pull request checklist