Commit 5f7d55e6 authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[BUGFIX] fix upgrade wizard

parent 3c0543f6
......@@ -53,7 +53,7 @@ fs.exists(process.cwd() + '/../.eslintrc.js', exists => {
});
fs.exists(process.cwd() + '/../.jshintrc', exists => {
if (!exists) {
if (exists) {
inquirer.prompt([
{
type: 'confirm',
......@@ -66,7 +66,5 @@ fs.exists(process.cwd() + '/../.jshintrc', exists => {
console.log(chalk.green('Removed .jshintr ✓'));
}
});
} else {
console.log(chalk.green('EsLint configuration found ✓'));
}
});
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment