react-native-clean-project
Advanced tools
Comparing version 3.6.3 to 3.6.4
{ | ||
"name": "react-native-clean-project", | ||
"version": "3.6.3", | ||
"version": "3.6.4", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=8.9.0" |
@@ -71,3 +71,3 @@ # React Native Clean Project | ||
- **Pedro Madruga** - _Initial work and maintenance_ - [pmadruga](https://github.com/pmadruga) | ||
- **Pedro Madruga** - [twitter](https://twitter.com/pmadruga_) | ||
@@ -74,0 +74,0 @@ See also the list of [contributors](https://github.com/pmadruga/react-native-clean-project/graphs/contributors) who participated in this project. |
@@ -57,3 +57,4 @@ const { createInterface } = require('readline'); | ||
const checkAnswer = (answer, questionFunction, resolve) => { | ||
if (answer === 'Y') { | ||
answer = answer.toLowerCase(); | ||
if (answer === 'y') { | ||
resolve(); | ||
@@ -65,3 +66,3 @@ return true; | ||
} | ||
console.log("🚫 Please select 'Y' for yes, or 'n' for no."); | ||
console.log("🚫 Please select 'y' for yes, or 'n' for no."); | ||
questionFunction().then(() => resolve()); | ||
@@ -68,0 +69,0 @@ return false; |
34071
593