From 595a349174294e98e1d7a95e6e122c71936404fc Mon Sep 17 00:00:00 2001 From: Sebastian Johansson Date: Wed, 3 Jul 2019 16:04:31 +0200 Subject: [PATCH] Fix incorrect usage of $o instead of %o in debug (#10157) It would end up printing the literal "$o" instead of the directory name. --- packages/babel-core/src/config/files/configuration.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/babel-core/src/config/files/configuration.js b/packages/babel-core/src/config/files/configuration.js index 9088bb4c1d02..ab3353f6fde3 100644 --- a/packages/babel-core/src/config/files/configuration.js +++ b/packages/babel-core/src/config/files/configuration.js @@ -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; } @@ -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; }