Skip to content

Commit

Permalink
Fixed XMLFS.toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Dec 10, 2024
1 parent e912707 commit 3b8aecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3b8aecd

Please sign in to comment.