Skip to content

Commit

Permalink
Sets empty global 'variables' param only when nonexistent (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
briandominick authored Aug 29, 2018
1 parent f593bf2 commit 1b599d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/liquidoc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def initialize build, type
build['props'] = build['properties'] if build['properties']
@build = build
@type = type
@build['variables'] = {}
@build['variables'] = {} unless @build['variables']
end

def template
Expand Down
2 changes: 1 addition & 1 deletion lib/liquidoc/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Liquidoc
VERSION = "0.9.1"
VERSION = "0.9.2"
end

0 comments on commit 1b599d8

Please sign in to comment.