Skip to content

Commit 311c945

Browse files
committed
update README again
1 parent 8e3aa0b commit 311c945

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function readTextFileSync(path: string): Result<string, string> {
4040
const content = fs.readFileSync(path, "utf-8")
4141
return ok(content)
4242
} catch (err: unknown) {
43-
if (err instance of Error) {
43+
if (err instanceof Error) {
4444
return err(err.message)
4545
}
4646
return err("unknown")

0 commit comments

Comments
 (0)