Skip to content

Commit c4c8c15

Browse files
committed
Update index.js
changed method parser to parse
1 parent 04484db commit c4c8c15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class IANAParser {
1313
return REGISTRY_URL;
1414
}
1515

16-
parser() {
16+
parse() {
1717
return parser.apply(this, arguments);
1818
}
1919

@@ -26,7 +26,7 @@ class IANAParser {
2626
res
2727
.setEncoding("utf8")
2828
.on('data', (chunk) => (body += chunk))
29-
.on('end', () => resolve(this.parser(body)))
29+
.on('end', () => resolve(this.parse(body)))
3030
;
3131

3232
})

0 commit comments

Comments
 (0)