Fix incorrect usage of $o instead of %o in debug (#10157)

It would end up printing the literal "$o" instead of the directory name.
This commit is contained in:
Sebastian Johansson 2019-07-03 16:04:31 +02:00 committed by Nicolò Ribaudo
parent 0bf0ae3410
commit 595a349174

View File

@ -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;
}