lib/markdown_exec.rb in markdown_exec-2.0.6 vs lib/markdown_exec.rb in markdown_exec-2.0.7
- old
+ new
@@ -747,9 +747,10 @@
# Presents a TTY prompt to select an option or exit, returns selected option or nil
def select_option_or_exit(prompt_text, strings, opts = {})
result = @options.select_option_with_metadata(prompt_text, strings,
opts)
+ ### 2024-04-20 what for?
# return unless result.fetch(:option, nil)
result[:selected]
end