change incorrect comment

This commit is contained in:
cswimr 2025-02-08 08:57:27 -06:00
parent 4607520e97
commit 7e1f186d62
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -36,7 +36,7 @@ export class IndexFileEntry {
async parse(): Promise<Metafile> {
if (this.metafile === false) {
throw new Error(
"Cannot parse non-metafiles! Use `file.readText()` instead to get the file contents.",
"Cannot parse non-metafiles! Use `file.fetchContents()` instead to get the file contents.",
);
}
const fileContent = await this.file.fetchContents();