Closed dweinstein closed 8 years ago
also I suggest using the instanceof check in the index module export to make sure new is called properly on the object.
e.g.:
// index.js
module.exports = Codesign;
function Codesign(options) {
if (!(this instanceof Codesign)) {
return new Codesign(options);
}
}
or just use ES6 classes I guess...
bin/ipa-resign.js:
± semistandard bin/ipa-resign.js | grep -v "indentation\|Unexpected\|space"
semistandard: Semicolons For All! (https://github.com/Flet/semistandard)
/Users/user/work/node-codesign/bin/ipa-resign.js:15:2: Missing semicolon.
/Users/user/work/node-codesign/bin/ipa-resign.js:77:15: Strings must use singlequote.