destroy command is too tolerant #155

Zyko0 opened this Issue Oct 2, 2015 · 1 comment


None yet

2 participants

Zyko0 commented Oct 2, 2015

destroy command's confirmation asks the user to enter the name of its application again.
But there is too much tolerance in the confirmation i.e:
If I want to destroy myapp and that you type "myapp jiezoijezdizejd" (notice the space)

scalingo -a myapp destroy
/!\ You're going to delete myapp, this operation is irreversible.
To confirm type the name of the application: myapp jiezoijezdizejd
-----> App myapp has been deleted

It must come from a Scan() taking the space character as a split character or whatever..

Soulou commented Oct 2, 2015


@Zyko0 Zyko0 closed this in 3f156ea Oct 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment