Skip to content

Commit

Permalink
fix(cmd) confusing prompt (#9114)
Browse files Browse the repository at this point in the history
It says [Y/n], but doesn't take Y as default choice.
  • Loading branch information
StarlightIbuki authored Jul 21, 2022
1 parent f6c7734 commit c0e88de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/cmd/migrations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ local function confirm_prompt(q)
}

while MAX > 0 do
io.write("> " .. q .. " [Y/n] ")
io.write("> " .. q .. " [y/n] ")
local a = io.read("*l")
if ANSWERS[a] ~= nil then
return ANSWERS[a]
Expand Down

0 comments on commit c0e88de

Please sign in to comment.