change incorrect comment
This commit is contained in:
parent
4607520e97
commit
7e1f186d62
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue