Skip to content

Commit

Permalink
fix NuGet.Core issue in OptimizedZipPackage failing nuget pack when e…
Browse files Browse the repository at this point in the history
…ncountering non-compliant OPC packages NuGet/Home#1921
  • Loading branch information
xavierdecoster committed Jan 21, 2016
1 parent eac0e51 commit 31e47c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Packages/OptimizedZipPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ private void EnsurePackageFiles()
Package package = Package.Open(stream);
// unzip files inside package
var files = from part in package.GetParts()
where ZipPackage.IsPackageFile(part, package.PackageProperties.Identifier)
where ZipPackage.IsPackageFile(part, Id)
select part;

// now copy all package's files to disk
Expand Down

0 comments on commit 31e47c6

Please sign in to comment.