We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 742bb1d commit 5fb39f3Copy full SHA for 5fb39f3
1 file changed
src/processors/obfProcessor.ts
@@ -729,8 +729,9 @@ class ObfProcessor extends BaseProcessor {
729
const files = Object.values(tree.pages).map((page) => {
730
const obfBoard = this.createObfBoardFromPage(page, 'Board', tree.metadata);
731
const obfContent = JSON.stringify(obfBoard, null, 2);
732
+ const name = page.id.endsWith('.obf') ? page.id : `${page.id}.obf`;
733
return {
- name: `${page.id}.obf`,
734
+ name,
735
data: new TextEncoder().encode(obfContent),
736
};
737
});
0 commit comments