This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit a99f801950cd8614dfcf845845f6b7ad8f4c3087
Author: Zoran Regvart <zregv...@apache.org>
AuthorDate: Mon Nov 2 20:40:47 2020 +0100

    fix: relative links rule message
---
 rules.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules.js b/rules.js
index f5cd1e2..53e8eda 100644
--- a/rules.js
+++ b/rules.js
@@ -42,7 +42,7 @@ class RelativeLinks extends Rule {
       anchors.forEach(a => {
         const href = a.getAttribute("href");
         if (href && href.value.startsWith("https://camel.apache.org";)) {
-          this.report(a, `For links within camel.apache.org use relative 
links, found: ${href}`);
+          this.report(a, `For links within camel.apache.org use relative 
links, found: ${href.value}`);
         }
       });
     });

Reply via email to