diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-10-08 02:23:49 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-10-08 02:23:49 -0400 |
commit | aae482255c76c0e21e63694b28e5e9a350e5190b (patch) | |
tree | 9490263c63a75fc992b16b8cdb7515bc19c65b1a /src/SMAPI.ModBuildConfig/Tasks | |
parent | 0e5982bf9c21acd0429f05a0a608303f72b7b470 (diff) | |
download | SMAPI-aae482255c76c0e21e63694b28e5e9a350e5190b.tar.gz SMAPI-aae482255c76c0e21e63694b28e5e9a350e5190b.tar.bz2 SMAPI-aae482255c76c0e21e63694b28e5e9a350e5190b.zip |
rm redundant code
Diffstat (limited to 'src/SMAPI.ModBuildConfig/Tasks')
-rw-r--r-- | src/SMAPI.ModBuildConfig/Tasks/CreateModReleaseZip.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/SMAPI.ModBuildConfig/Tasks/CreateModReleaseZip.cs b/src/SMAPI.ModBuildConfig/Tasks/CreateModReleaseZip.cs index dd89d6b8..b94b4a01 100644 --- a/src/SMAPI.ModBuildConfig/Tasks/CreateModReleaseZip.cs +++ b/src/SMAPI.ModBuildConfig/Tasks/CreateModReleaseZip.cs @@ -50,10 +50,6 @@ namespace StardewModdingAPI.ModBuildConfig.Tasks string folderName = this.EscapeInvalidFilenameCharacters(this.ModName); string zipPath = Path.Combine(this.OutputFolderPath, zipName); - // clear old zip file if present - if (File.Exists(zipPath)) - File.Delete(zipPath); - // create zip file Directory.CreateDirectory(this.OutputFolderPath); using (Stream zipStream = new FileStream(zipPath, FileMode.Create, FileAccess.Write)) |