Skip to content

Commit 9b46f3d

Browse files
committed
chore(rels): add comment to assertRelatedContent
1 parent dda0992 commit 9b46f3d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/helper/xml-relationship-helper.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,18 @@ export class XmlRelationshipHelper {
104104
return this;
105105
}
106106

107+
/**
108+
* This will copy all unhandled related contents into
109+
* the target archive.
110+
*
111+
* Pptx messages on opening a corrupted file are most likely
112+
* caused by broken relations and this is going to prevent
113+
* files from being missed.
114+
*
115+
* @param sourceArchive
116+
* @param check
117+
* @param assert
118+
*/
107119
async assertRelatedContent(
108120
sourceArchive: IArchive,
109121
check?: boolean,

0 commit comments

Comments
 (0)