lib/jets/commands/import/sequence.rb in jets-1.0.4 vs lib/jets/commands/import/sequence.rb in jets-1.0.5
- old
+ new
@@ -38,10 +38,10 @@
def copy_project
puts "Creating rack folder"
template_path = File.expand_path(@source)
set_source_paths(template_path)
- directory ".", rack_folder
+ directory ".", rack_folder, exclude_pattern: %r{.git}
end
def set_source_paths(*paths)
# Using string with instance_eval because block doesnt have access to
# path at runtime.
\ No newline at end of file