tools/sign.js: Print errors to console.
This commit is contained in:
parent
273aa7f7d0
commit
bf97bf205d
@ -9,6 +9,7 @@ var archive = fs.readFileSync(`testbuilds/${pkg.name}${channel}.crx.zip`);
|
|||||||
var extension = new crx({privateKey, loaded: true});
|
var extension = new crx({privateKey, loaded: true});
|
||||||
extension.pack(archive).then((data) =>
|
extension.pack(archive).then((data) =>
|
||||||
fs.writeFileSync(`testbuilds/${pkg.name}${channel}.crx`, data)
|
fs.writeFileSync(`testbuilds/${pkg.name}${channel}.crx`, data)
|
||||||
).catch(function() {
|
).catch(function(err) {
|
||||||
|
console.error(err);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user