Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Dup lists when storing old template paths and includes

  • Loading branch information...
commit ff48b1a316422fabf77f08b7e386cb29c33089ba 1 parent b27b6cd
@lsegal authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/yard/server/commands/library_command.rb
View
4 lib/yard/server/commands/library_command.rb
@@ -72,8 +72,8 @@ def call(request)
private
def save_default_template_info
- @old_template_paths = Templates::Engine.template_paths
- @old_extra_includes = Templates::Template.extra_includes
+ @old_template_paths = Templates::Engine.template_paths.dup
+ @old_extra_includes = Templates::Template.extra_includes.dup
end
def restore_template_info
Please sign in to comment.
Something went wrong with that request. Please try again.