mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-01 12:47:43 +00:00
make prompt more explicit
// FREEBIE
This commit is contained in:
parent
a0246836a8
commit
4d8108f34d
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user