mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
Turn on TreatWarningsAsError (#5384)
* Turn on TreatWarningsAsError for Release build - Break Api intentionally * Fix Api * Treat warnings as errors no matter the configuration
This commit is contained in:
@ -13,6 +13,7 @@
|
||||
<Nullable Condition="'$(Nullable)' == '' and '$(IsTestProject)' == 'true'">annotations</Nullable>
|
||||
<!-- Uncomment the below line when we are ready to enable nullable repo wide -->
|
||||
<!-- <Nullable Condition="'$(Nullable)' == '' and '$(IsTestProject)' != 'true'">enable</Nullable> -->
|
||||
<TreatWarningsAsErrors Condition="'$(TreatWarningsAsErrors)' == ''">true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
|
Reference in New Issue
Block a user