Skip to content

Commit

Permalink
Merge pull request #1312 from bddckr/fix/duplicated-extraction
Browse files Browse the repository at this point in the history
Don't extract the release package file twice.
  • Loading branch information
anaisbetts committed Sep 19, 2018
2 parents 80d59ec + 3bb2a72 commit 9787421
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Squirrel/DeltaPackage.cs
Expand Up @@ -68,9 +68,6 @@ public ReleasePackage CreateDeltaPackage(ReleasePackage basePackage, ReleasePack
this.Log().Info("Extracting {0} and {1} into {2}",
basePackage.ReleasePackageFile, newPackage.ReleasePackageFile, tempPath);

Utility.ExtractZipToDirectory(basePackage.ReleasePackageFile, baseTempInfo.FullName).Wait();
var opts = new ExtractionOptions() { ExtractFullPath = true, Overwrite = true, PreserveFileTime = true };

Utility.ExtractZipToDirectory(basePackage.ReleasePackageFile, baseTempInfo.FullName).Wait();
Utility.ExtractZipToDirectory(newPackage.ReleasePackageFile, tempInfo.FullName).Wait();

Expand Down

0 comments on commit 9787421

Please sign in to comment.