diff --git a/tests/sauce-docs-checker/index.js b/tests/sauce-docs-checker/index.js index 3ceb6e536e..29fe51a53d 100644 --- a/tests/sauce-docs-checker/index.js +++ b/tests/sauce-docs-checker/index.js @@ -170,22 +170,16 @@ function get_links(map,title) { } async function parse_wiki_map() { - let API_BASE_URL = `https://raw.githubusercontent.com/`; - let url = API_BASE_URL+`saucelabs/sauce-docs/fix-link-checker-workflow/tests/sauce-docs-checker/map.conf`; - let res = await axios.get(url); - let text = res.data; - // console.log(text); + const text = fs.readFileSync('map.conf', 'utf-8') let arr = text.split('\n'); for(let i=0;i',to); } } }