Skip to content

Commit de8256b

Browse files
authored
Fix comment typo (#26)
1 parent 5f75a3a commit de8256b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {readFileSync, promises as fs} from 'node:fs';
33
const {readFile} = fs;
44

55
const parse = (buffer, {beforeParse, reviver} = {}) => {
6-
// Unlike `buffer.toString()` and `fs.readFile(path, 'utf8')`, `TextDecoder`` will remove BOM.
6+
// Unlike `buffer.toString()` and `fs.readFile(path, 'utf8')`, `TextDecoder` will remove BOM.
77
let data = new TextDecoder().decode(buffer);
88

99
if (typeof beforeParse === 'function') {

0 commit comments

Comments
 (0)