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