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

Compare commits

..

No commits in common. "b3d2302b3728bb3afee033b302ee160f88dd5c13" and "74f2a26f929d3287544a5d7ceb9375fc4e8ec9c9" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

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

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 || !$description) {
if (\strpos(\readline($error.' - '.$description.' OK? '), 'n') !== false) {
continue;
}
if ($description === 'drop' || $description === 'delete' || $description === 'd') {