Skip to content

Commit

Permalink
workflow: do not log if link check is successful
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jun 10, 2018
1 parent 9ca73cc commit a938008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/checkLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function checkLink (file, link, n) {
if (result.statusCode !== 200) {
throw new Error('error')
} else {
console.log('[OK]', link, result.statusCode)
// console.log('[OK]', link, result.statusCode)
}
} catch (e) {
console.warn('[!!]', link, `${file}:${parseInt(n) + 1}`)
Expand Down

0 comments on commit a938008

Please sign in to comment.