Skip to content

Commit 7da3114

Browse files
fix(ci): simplify htmlproofer command to use committed config
1 parent cd12d01 commit 7da3114

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tools/test.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,9 @@ main() {
6161
-d "$SITE_DIR$_baseurl" -c "$_config"
6262

6363
# test
64-
# NOTE: Added ignore patterns for theme assets that may not be generated
65-
# by a simple 'jekyll build' or are root-relative scripts.
66-
bundle exec htmlproofer "$SITE_DIR" \
67-
--disable-external \
68-
--ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/,/assets\/js\/dist\/theme\.min\.js/,/app\.min\.js\?/"
64+
# CORRECTED: Removing all explicit flags to prevent conflicts and ensure
65+
# HTMLProofer uses the configuration defined in the .htmlproofer.yml file.
66+
bundle exec htmlproofer "$SITE_DIR"
6967
}
7068

7169
while (($#)); do

0 commit comments

Comments
 (0)