Skip to content

Commit

Permalink
Update tests/vc-generator/stubMethods.js and / to separate options in…
Browse files Browse the repository at this point in the history
… jsdoc comment.

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
  • Loading branch information
aljones15 and TallTed authored Jun 27, 2024
1 parent 2d7f598 commit 62a501b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/vc-generator/stubMethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export function stubDisclosureData({
bbsSignature, bbsHeader, publicKey, hmacKey, mandatoryPointers
} = await parseBaseProofValue({proof});

// 2. Ensure mandatory and / or selective data will be disclosed.
// 2. Ensure mandatory and/or selective data will be disclosed.
const {selectivePointers = []} = cryptosuite.options;
if(!(mandatoryPointers?.length > 0 || selectivePointers?.length > 0)) {
throw new Error('Nothing selected for disclosure.');
Expand Down

0 comments on commit 62a501b

Please sign in to comment.