Merge branch 'v3-stable' of github.com:middleman/middleman into v3-stable
This commit is contained in:
commit
3eafb4fcf4
|
@ -9,7 +9,7 @@ class Middleman::Templates::Local < Middleman::Templates::Base
|
||||||
# Just copy from the template path
|
# Just copy from the template path
|
||||||
# @return [void]
|
# @return [void]
|
||||||
def build_scaffold!
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue