From 7e1f186d6280961159586a9b048ee6fcb2fb65df Mon Sep 17 00:00:00 2001 From: cswimr Date: Sat, 8 Feb 2025 08:57:27 -0600 Subject: [PATCH] change incorrect comment --- src/parser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.ts b/src/parser.ts index 5fb44b3..ce2c4f1 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -36,7 +36,7 @@ export class IndexFileEntry { async parse(): Promise { 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();