Skip to content

Commit 384696d

Browse files
committed
Address coderabbit review
1 parent 05bd80f commit 384696d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/signed-xml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ export class SignedXml {
11601160
* Adds all references to the SignedInfo after the signature placeholder is inserted.
11611161
*/
11621162
private addAllReferences(doc: Document, signatureElem: Element, prefix?: string): void {
1163-
if (!utils.isArrayHasLength(this.references)) {
1163+
if (!utils.isArrayHasLength(this.references) && !utils.isArrayHasLength(this.attachmentReferences)) {
11641164
return;
11651165
}
11661166

0 commit comments

Comments
 (0)