diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-04-23 23:00:51 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-04-23 23:00:51 -0400 |
commit | a9c220c0fe0fd6f52bee73a8f5da91fd1d007d0f (patch) | |
tree | 18cb834bce4eb7f6ae0aa7f9f088124fb3cfe913 /src/StardewModdingAPI.Installer | |
parent | 8ec607ba3c1d672f5aeac065dd19dc3514e209c4 (diff) | |
download | SMAPI-a9c220c0fe0fd6f52bee73a8f5da91fd1d007d0f.tar.gz SMAPI-a9c220c0fe0fd6f52bee73a8f5da91fd1d007d0f.tar.bz2 SMAPI-a9c220c0fe0fd6f52bee73a8f5da91fd1d007d0f.zip |
minor cleanup
Diffstat (limited to 'src/StardewModdingAPI.Installer')
-rw-r--r-- | src/StardewModdingAPI.Installer/InteractiveInstaller.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs b/src/StardewModdingAPI.Installer/InteractiveInstaller.cs index c456fdc0..38c19d2b 100644 --- a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs +++ b/src/StardewModdingAPI.Installer/InteractiveInstaller.cs @@ -626,9 +626,8 @@ namespace StardewModdingApi.Installer private void Move(FileSystemInfo entry, string newPath) { // file - if (entry is FileInfo) + if (entry is FileInfo file) { - FileInfo file = (FileInfo)entry; file.CopyTo(newPath); file.Delete(); } |