mirror of
https://github.com/danog/telerpc.git
synced 2024-12-11 16:59:50 +01:00
Compare commits
2 Commits
74f2a26f92
...
b3d2302b37
Author | SHA1 | Date | |
---|---|---|---|
b3d2302b37 | |||
08747a666f |
@ -4,4 +4,4 @@ git pull
|
||||
|
||||
composer update
|
||||
|
||||
php server.php server
|
||||
php server.php serve
|
||||
|
@ -288,7 +288,7 @@ final class Main implements RequestHandler
|
||||
if (!($res['description'] ?? null)) {
|
||||
$methods = \implode(', ', $methods);
|
||||
$description = \readline('Insert description for '.$error.' ('.$methods.'): ');
|
||||
if (\strpos(\readline($error.' - '.$description.' OK? '), 'n') !== false) {
|
||||
if (\strpos(\readline($error.' - '.$description.' OK? '), 'n') !== false || !$description) {
|
||||
continue;
|
||||
}
|
||||
if ($description === 'drop' || $description === 'delete' || $description === 'd') {
|
||||
|
Loading…
Reference in New Issue
Block a user