Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes exception when no renderer options specified.

(Oops! Forgot to test with example presentation.)
  • Loading branch information...
commit c7bf17dd43cfc4c346a97f3d67d0ef99b9a8e47d 1 parent 4725957
@MichaelHackett MichaelHackett authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/showoff_utils.rb
View
2  lib/showoff_utils.rb
@@ -316,7 +316,7 @@ def self.showoff_markdown(dir = ".")
def self.showoff_renderer_options(dir = '.', default_options = {})
opts = get_config_option(dir, showoff_markdown(dir))
- Hash[opts.map {|k, v| [k.to_sym, v]}] # keys must be symbols
+ Hash[opts.map {|k, v| [k.to_sym, v]}] if opts # keys must be symbols
end
def self.get_config_option(dir, option, default = nil)
Please sign in to comment.
Something went wrong with that request. Please try again.