Skip to content

Commit

Permalink
Fix typo in example (#7)
Browse files Browse the repository at this point in the history
Fix typo in example
  • Loading branch information
azu authored Jul 13, 2019
2 parents 8976f3f + bd0dfa1 commit 5b55813
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ console.log(rcfile("bar", {
defaultExtension: [".json", ".yml", ".js"]
}));

// try to load as .yml, but it is not json
// try to load as .json, but it is not json
// throw Error
try {
rcfile("unknown", {
Expand Down
2 changes: 1 addition & 1 deletion example.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ console.log(
})
);

// try to load as .yml, but it is not json
// try to load as .json, but it is not json
// throw Error
try {
rcfile("unknown", {
Expand Down

0 comments on commit 5b55813

Please sign in to comment.