Skip to content

Commit d7c3e75

Browse files
jasonjohCopilot
andauthored
Update tests/validator.js
Co-authored-by: Copilot <[email protected]>
1 parent 135614e commit d7c3e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async function validateLink (linkUrl) {
2323
const response = await fetch(linkUrl, { method: 'HEAD' });
2424
return response.ok;
2525
} catch (error) {
26-
console.log(JSON.stringify(error, null, 2));
26+
console.error(JSON.stringify(error, null, 2));
2727
return false;
2828
}
2929
}

0 commit comments

Comments
 (0)