mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Merge pull request #1883 from r-obert/syntax-highlight-fix-2
fix syntax highlighting of change_prompt.rb
This commit is contained in:
commit
c02c132a83
1 changed files with 2 additions and 4 deletions
|
@ -35,10 +35,8 @@ class Pry::Command::ChangePrompt < Pry::ClassCommand
|
|||
if Pry::Prompt.all.key?(prompt)
|
||||
_pry_.prompt = Pry::Prompt.all[prompt][:value]
|
||||
else
|
||||
raise(Pry::CommandError, <<MSG)
|
||||
'#{prompt}' isn't a known prompt. Run `change-prompt --list` to see
|
||||
the list of known prompts.
|
||||
MSG
|
||||
raise Pry::CommandError, "'#{prompt}' isn't a known prompt. " \
|
||||
"Run `change-prompt --list` to see the list of known prompts."
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue