phast184/link-checker-tool

Could change colour for [UNKOWN][ENOTFOUND] errors

Opened this issue · 0 comments

I think it would be beneficial for the user to see the different unknown errors as during my testing I found that the links that ended up here were marked as malicious. Below is the change I would make so it's yellow instead of grey like the other unknown error.

Should be around line 76-ish

console.log(chalk.rgb(255, 204, 51)("[UNKOWN][ENOTFOUND] " + url));