Skip to content
Browse files

Ignore file guides/output/layout.html on W3C validations

  • Loading branch information...
1 parent eaa973f commit 23d277476a396088633d0cb2ef8d3be5c3557953 @jaimeiniesta jaimeiniesta committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/guides/w3c_validator.rb
View
1 railties/guides/w3c_validator.rb
@@ -55,6 +55,7 @@ def validate
private
def guides_to_validate
guides = Dir["./guides/output/*.html"]
+ guides.delete("./guides/output/layout.html")
ENV.key?('ONLY') ? select_only(guides) : guides
end

0 comments on commit 23d2774

Please sign in to comment.
Something went wrong with that request. Please try again.