Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
MAGEDOC-2579: Fixed first-time-run bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-matthews committed Dec 22, 2017
1 parent 7059582 commit b8ae7b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ task :check_links => :build do

puts 'Checking links with htmlproofer...'

# If you're running this for the first time, create the tmp/.htmlproofer directory first or the script fails.
mkdir_p 'tmp/.htmlproofer' unless File.exists?('tmp/.htmlproofer')

# Write console output (stderr only) to a file. Use this if you need to also capture stdout: https://stackoverflow.com/a/2480439
$stderr.reopen("tmp/.htmlproofer/bad-links.md", "w")

Expand Down

0 comments on commit b8ae7b3

Please sign in to comment.