Skip to content

Commit

Permalink
fix: passthrough options to binary control from package
Browse files Browse the repository at this point in the history
  • Loading branch information
tale committed Mar 15, 2022
1 parent 367b6e7 commit 5f3bdb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class Package extends BinaryControl implements IPackage {
* @param {ParserOptions} options Optional object for modifying options when constructing
*/
constructor(rawData: string, options?: ParserOptions) {
super(rawData)
super(rawData, options)
super.required = options?.skipValidation ? [] : [
'Filename',
'Size'
Expand Down

0 comments on commit 5f3bdb9

Please sign in to comment.