Skip to content

Commit bd0dfa1

Browse files
committed
Fix typo in example
1 parent 8976f3f commit bd0dfa1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ console.log(rcfile("bar", {
107107
defaultExtension: [".json", ".yml", ".js"]
108108
}));
109109

110-
// try to load as .yml, but it is not json
110+
// try to load as .json, but it is not json
111111
// throw Error
112112
try {
113113
rcfile("unknown", {

example.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ console.log(
5151
})
5252
);
5353

54-
// try to load as .yml, but it is not json
54+
// try to load as .json, but it is not json
5555
// throw Error
5656
try {
5757
rcfile("unknown", {

0 commit comments

Comments
 (0)