rename ~/.sonar to ~/.flipper

Summary: renames config folder from sonar to flipper

Reviewed By: jknoxville

Differential Revision: D9541803

fbshipit-source-id: ef378c46fcbb14e76e99fb0743a99f24c536a434
This commit is contained in:
Daniel Büchele
2018-08-29 02:29:14 -07:00
committed by Facebook Github Bot
parent 2596e7d42a
commit f7606c8d59
6 changed files with 15 additions and 9 deletions

View File

@@ -69,7 +69,7 @@ const createModuleIdFactory = () => filePath => {
return id;
};
function pluginEntryPoints(additionalPaths = []) {
const defaultPluginPath = path.join(HOME_DIR, '.sonar', 'node_modules');
const defaultPluginPath = path.join(HOME_DIR, '.flipper', 'node_modules');
const entryPoints = entryPointForPluginFolder(defaultPluginPath);
if (typeof additionalPaths === 'string') {
additionalPaths = [additionalPaths];