Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #10343 from MarcelGerber/package-validator-send-err
Browse files Browse the repository at this point in the history
Send the error over to the callback if decompress-zip fails
  • Loading branch information
ingorichter committed Jan 14, 2015
2 parents 89ffbb9 + 99a7d15 commit 897fd8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/extensibility/node/package-validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ function extractAndValidateFiles(zipPath, extractDir, options, callback) {
unzipper.on("error", function (err) {
// General error to report for problems reading the file
callback(null, {
errors: [[Errors.INVALID_ZIP_FILE, zipPath]]
errors: [[Errors.INVALID_ZIP_FILE, zipPath, err]]
});
return;
});
Expand Down
2 changes: 1 addition & 1 deletion src/extensibility/node/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "brackets-extensibility",
"description": "Used in the management of Brackets extensions",
"version": "0.45.0",
"version": "1.2.0",
"dependencies": {
"decompress-zip": "0.0.2",
"semver": "2.x",
Expand Down

0 comments on commit 897fd8d

Please sign in to comment.