Skip to content

Commit

Permalink
Merge pull request #13589 from beriniwlew/dev
Browse files Browse the repository at this point in the history
To compound assignment
  • Loading branch information
maliming authored Aug 7, 2022
2 parents 9ef9f1a + 997da7e commit 6dbf808
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public static IConfigurationRoot BuildConfiguration(
this IWebHostEnvironment env,
AbpConfigurationBuilderOptions options = null)
{
options = options ?? new AbpConfigurationBuilderOptions();
options ??= new AbpConfigurationBuilderOptions();

if (options.BasePath.IsNullOrEmpty())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public static IConfigurationRoot BuildConfiguration(
AbpConfigurationBuilderOptions options = null,
Action<IConfigurationBuilder> builderAction = null)
{
options = options ?? new AbpConfigurationBuilderOptions();
options ??= new AbpConfigurationBuilderOptions();

if (options.BasePath.IsNullOrEmpty())
{
Expand Down

0 comments on commit 6dbf808

Please sign in to comment.