Skip to content

Commit

Permalink
this check is needed, ReSharper is smoking crack
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlm committed Nov 25, 2024
1 parent e8c9cd6 commit 38a3906
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Consolonia.Core/Controls/FileSavePickerViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ protected override bool FilterItem(IStorageItem item)
if (item is IStorageFolder) return true;
if (item is IStorageFile file)
{
// ReSharper disable ConstantConditionalAccessQualifier
if (SelectedFileType == null || SelectedFileType.Patterns == null || SelectedFileType.Patterns.Count == 0)

Check warning on line 28 in src/Consolonia.Core/Controls/FileSavePickerViewModel.cs

View workflow job for this annotation

GitHub Actions / build

"[ConditionIsAlwaysTrueOrFalse] Expression is always false" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileSavePickerViewModel.cs(28,21)
return true;

Expand Down

0 comments on commit 38a3906

Please sign in to comment.