1
0
mirror of https://github.com/danog/telerpc.git synced 2024-12-02 09:37:51 +01:00

Compare commits

...

2 Commits

Author SHA1 Message Date
b3d2302b37 Bump 2024-07-20 21:35:06 +02:00
08747a666f Fix 2024-07-20 21:29:59 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -4,4 +4,4 @@ git pull
composer update
php server.php server
php server.php serve

View File

@ -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') {