diff --git a/src/xml.ts b/src/xml.ts index f58e7e5..924037f 100644 --- a/src/xml.ts +++ b/src/xml.ts @@ -116,7 +116,7 @@ export class XMLFS extends Sync(FileSystem) { } public toString(): string { - return new XMLSerializer().serializeToString(this.document); + return new XMLSerializer().serializeToString(this.root); } protected get(syscall: string, path: string): Element {