mirror of
https://github.com/danog/telerpc.git
synced 2024-11-26 12:04:47 +01:00
Bump
This commit is contained in:
parent
08747a666f
commit
b3d2302b37
@ -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