diff --git a/local-cli/util/Config.js b/local-cli/util/Config.js index 95ce3d4b11ff6a..bc555733d15615 100644 --- a/local-cli/util/Config.js +++ b/local-cli/util/Config.js @@ -33,7 +33,7 @@ const Config = { const parentDir = findParentDirectory(cwd, RN_CLI_CONFIG); if (!parentDir && !defaultConfig) { throw new Error( - `Can't find "rn-cli.config.js" file in any parent folder of "${__dirname}"` + `Can't find "rn-cli.config.js" file in any parent folder of "${cwd}"` ); }