diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-06 18:24:59 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-06 18:24:59 -0400 |
commit | b6c8cfc28b2c94e6dc3cb07d3058371dd6775e70 (patch) | |
tree | 4614e6eeb590843c7769f3b1857b71bdfa759071 /src/SMAPI.Installer | |
parent | a593eda30f82af474887d91458b0e9158f66fefc (diff) | |
download | SMAPI-b6c8cfc28b2c94e6dc3cb07d3058371dd6775e70.tar.gz SMAPI-b6c8cfc28b2c94e6dc3cb07d3058371dd6775e70.tar.bz2 SMAPI-b6c8cfc28b2c94e6dc3cb07d3058371dd6775e70.zip |
simplify 'is not' patterns
Diffstat (limited to 'src/SMAPI.Installer')
-rw-r--r-- | src/SMAPI.Installer/InteractiveInstaller.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Installer/InteractiveInstaller.cs b/src/SMAPI.Installer/InteractiveInstaller.cs index a126c3b8..49ca80a5 100644 --- a/src/SMAPI.Installer/InteractiveInstaller.cs +++ b/src/SMAPI.Installer/InteractiveInstaller.cs @@ -808,7 +808,7 @@ namespace StardewModdingApi.Installer { // get type bool isDir = entry is DirectoryInfo; - if (!isDir && !(entry is FileInfo)) + if (!isDir && entry is not FileInfo) continue; // should never happen // delete packaged mods (newer version bundled into SMAPI) |