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

Commit 897fd8d

Browse files
committed
Merge pull request #10343 from MarcelGerber/package-validator-send-err
Send the error over to the callback if decompress-zip fails
2 parents 89ffbb9 + 99a7d15 commit 897fd8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/extensibility/node/package-validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ function extractAndValidateFiles(zipPath, extractDir, options, callback) {
270270
unzipper.on("error", function (err) {
271271
// General error to report for problems reading the file
272272
callback(null, {
273-
errors: [[Errors.INVALID_ZIP_FILE, zipPath]]
273+
errors: [[Errors.INVALID_ZIP_FILE, zipPath, err]]
274274
});
275275
return;
276276
});

src/extensibility/node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "brackets-extensibility",
33
"description": "Used in the management of Brackets extensions",
4-
"version": "0.45.0",
4+
"version": "1.2.0",
55
"dependencies": {
66
"decompress-zip": "0.0.2",
77
"semver": "2.x",

0 commit comments

Comments
 (0)