Skip to content

Commit

Permalink
docs: Fix code in README.md (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
HeroProtagonist authored and tleunen committed Dec 12, 2019
1 parent cf2843e commit 18140e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ findBabelConfig(directory).then(({ file, config }) => {
// If it's a relative path, it is relative to the current working directory (process.cwd())
const directory = 'src';
const { file, config } = findBabelConfig.sync(directory);
// if c === null, the config wasn't found
// if file === null, the config wasn't found. (Also config === null)
if (file) {
// file is the file in which the config is found
console.log(file);
Expand Down

0 comments on commit 18140e9

Please sign in to comment.