Skip to content

Commit

Permalink
Fix incorrect usage of $o instead of %o in debug (#10157)
Browse files Browse the repository at this point in the history
It would end up printing the literal "$o" instead of the directory name.
  • Loading branch information
ChlorideCull authored and nicolo-ribaudo committed Jul 3, 2019
1 parent 0bf0ae3 commit 595a349
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/babel-core/src/config/files/configuration.js
Expand Up @@ -114,7 +114,7 @@ export function findRootConfig(

const conf = readConfig(filepath, envName, caller);
if (conf) {
debug("Found root config %o in $o.", BABEL_CONFIG_JS_FILENAME, dirname);
debug("Found root config %o in %o.", BABEL_CONFIG_JS_FILENAME, dirname);
}
return conf;
}
Expand All @@ -132,7 +132,7 @@ export function loadConfig(
throw new Error(`Config file ${filepath} contains no configuration data`);
}

debug("Loaded config %o from $o.", name, dirname);
debug("Loaded config %o from %o.", name, dirname);
return conf;
}

Expand Down

0 comments on commit 595a349

Please sign in to comment.