From aae482255c76c0e21e63694b28e5e9a350e5190b Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 8 Oct 2017 02:23:49 -0400 Subject: rm redundant code --- src/SMAPI.ModBuildConfig/Tasks/CreateModReleaseZip.cs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/SMAPI.ModBuildConfig/Tasks') 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)) -- cgit