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

Commit

Permalink
Send the error over to the callback if decompress-zip fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Gerber committed Jan 10, 2015
1 parent 47293e9 commit 99a7d15
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 99a7d15

Please sign in to comment.