make prompt more explicit

// FREEBIE
fork-5.53.8
Rhodey Orbits 2015-05-29 11:23:12 -07:00 zatwierdzone przez Moxie Marlinspike
rodzic a0246836a8
commit 4d8108f34d
1 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -245,12 +245,14 @@ if (propFile.canRead()){
}
if (project.hasProperty('espresso') && System.console() != null) {
println "____________________WARNING_____________________"
println "______________________WARNING_______________________"
println "ALL YOUR CONTACTS WILL BE DELETED IN THE PROCESS"
println "OF RUNNING THESE TESTS, TYPE 'espresso' TO CONTINUE"
println "OF RUNNING THESE TESTS, TYPE 'delete all my contacts'"
println "TO CONTINUE"
println "----------------------------------------------------"
def input = System.console().readLine(':')
if (input == 'espresso') {
if (input == 'delete all my contacts') {
android.productFlavors {
base {}
espresso {