Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
Merge 71dfaad into c7e3703
Browse files Browse the repository at this point in the history
  • Loading branch information
schonfeld committed Jun 12, 2018
2 parents c7e3703 + 71dfaad commit 492daa3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/middleman_dato/middleman_extension.rb
Expand Up @@ -27,6 +27,8 @@ class MiddlemanExtension < ::Middleman::Extension
def initialize(app, options_hash = {}, &block)
super

return if app.mode?(:config)

@loader = loader = Dato::Local::Loader.new(
client,
options_hash[:preview]
Expand Down

0 comments on commit 492daa3

Please sign in to comment.