Commit 800c1937 authored by Luke081515's avatar Luke081515
Browse files

Fix the target

* Target was not set before, so Debug was not able to work
parent 1a38ed8e
Pipeline #1573 passed with stages
in 2 minutes and 30 seconds
......@@ -11,6 +11,12 @@ class Debug extends Core {
$this->setSite($this->askRequired('Enter the domain to use:'));
$this->setUsername($this->askRequired('Enter the username to use:'));
$this->setPassword($this->askRequired('Enter the password to use:'));
$patchAnswer = $this->askRequired('Use a non default target? [y/N]');
if (strtolower($patchAnswer) !== 'n') {
$this->setTarget($this->askRequired('Enter the value for the target:'));
} else {
$assert = $this->askRequired('Enter the value for assert:');
$debug = $this->askRequired('Use verbose debug mode? [y/N]');
if (strtolower($debug) !== 'n') {
Markdown is supported
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