also "build" .htpasswd files
This commit is contained in:
parent
af132f6207
commit
17ad2caf11
6 changed files with 6 additions and 2 deletions
|
@ -231,7 +231,7 @@ module Middleman::Cli
|
|||
|
||||
paths = ::Middleman::Util.all_files_under(@destination)
|
||||
@cleaning_queue += paths.select do |path|
|
||||
!path.to_s.match(/\/\./) || path.to_s.match(/\.htaccess/)
|
||||
!path.to_s.match(/\/\./) || path.to_s.match(/\.htaccess|\.htpasswd/)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue