mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
lib/pry/command_set.rb: do not mutate completions (fixes #1021)
The bug was introduced by 16c08857a6
This commit is contained in:
parent
5aa7e38e63
commit
40321e1bd9
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ class Pry
|
|||
else
|
||||
commands.keys.select do |key|
|
||||
String === key && key.start_with?(search)
|
||||
end.map{ |key| key + " " } << Bond::DefaultMission.completions
|
||||
end.map{ |key| key + " " } + Bond::DefaultMission.completions
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue