Skip to content

Commit

Permalink
[MegaLinter] Apply linters fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wesley-dean-gsa committed Oct 18, 2024
1 parent 8b77c15 commit 44deb97
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions bin/archive_website.bash
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,9 @@ mirror_site() {
"${URL}sitemap.xml" \
--append-output="${logfile}" \
--output-document=- \
| sed -Ene "/<loc>/p" \
| sed -Ee "s/<[^>]*>//g" \
> "$sitemapfile"


| sed -Ene "/<loc>/p" \
| sed -Ee "s/<[^>]*>//g" \
> "$sitemapfile"

## download the site

Expand All @@ -165,9 +163,9 @@ mirror_site() {
--execute "robots=off" \
--input-file="$sitemapfile" \
"$@" \
|| true \
2>&1 \
| tee -a "${logfile}"
|| true \
2>&1 \
| tee -a "${logfile}"

## scan the results looking for failing HTTP responses

Expand Down

0 comments on commit 44deb97

Please sign in to comment.