Merge branch 'v3-stable' of github.com:middleman/middleman into v3-stable

This commit is contained in:
Thomas Reynolds 2014-11-16 12:35:45 -08:00
commit 3eafb4fcf4

View file

@ -9,7 +9,7 @@ class Middleman::Templates::Local < Middleman::Templates::Base
# Just copy from the template path
# @return [void]
def build_scaffold!
directory options[:template].to_s, location, force: options[:force]
directory options[:template].to_s, location, force: options[:force], exclude_pattern: /\.git\/.*/
end
end