create .flipper folder

Summary: When no config folder exists, a folder named `.sonar` was created. Instead `.flipper` should be created.

Reviewed By: hning

Differential Revision: D9754717

fbshipit-source-id: 89a7f5c80a9202f448a6bafcf461c941b656c15e
This commit is contained in:
Daniel Büchele
2018-09-11 07:21:31 -07:00
committed by Facebook Github Bot
parent ea840e230e
commit 3b6526eb07

View File

@@ -47,7 +47,7 @@ if (fs.existsSync(flipperDir)) {
// move .sonar to .flipper // move .sonar to .flipper
fs.renameSync(sonarDir, flipperDir); fs.renameSync(sonarDir, flipperDir);
} else { } else {
fs.mkdirSync(sonarDir); fs.mkdirSync(flipperDir);
} }
const configPath = path.join(flipperDir, 'config.json'); const configPath = path.join(flipperDir, 'config.json');