Skip to content
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

Fix build errors due to merge of PR #16991 #17176

Merged

Conversation

nul800sebastiaan
Copy link
Member

Prerequisites

  • I have added steps to test this contribution in the description below

Description

Makes the project build and fixes newly introduced errors that are no longer treated as warnings any more.

Note: LocalFileSystemTemporaryFileRepository had a ArgumentNullException.ThrowIfNull(nameof(model)); at the start which is treated as error now, so it's been removed.

Note2: IUmbracoContext had a commented out ForcedPreview method in it, the comments above it were treated as an error as there were no methods. As per usual, I completely removed commented out code (that's what Git is for 😅)

…ts.csproj and Umbraco.Core.csproj

LocalFileSystemTemporaryFileRepository: Don't pass null to a method that doesn't accept nullable argument - https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2264
Fix remaining warning marked as error
@nul800sebastiaan nul800sebastiaan merged commit 4090829 into contrib Oct 2, 2024
4 of 7 checks passed
@nul800sebastiaan nul800sebastiaan deleted the chore/fix-warn-as-erros-problems-preventing-build branch October 2, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant