Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

always exit with code 1 #398

Open
seblapela opened this issue Jan 17, 2025 · 1 comment
Open

always exit with code 1 #398

seblapela opened this issue Jan 17, 2025 · 1 comment

Comments

@seblapela
Copy link

seblapela commented Jan 17, 2025

It always retunr with exit code 1 while there is no error.. I have added these two console log lines:

linkCheck(link, opts, function (err, result) {
                console.log("err:  " + err)
                console.log("result:  " + result)


give the following output:

err:  null
LinkCheckResult {
  link: '../Developer-Guides/Observability.md#getting-access-to-bifrost',
  statusCode: 200,
  err: null,
  status: 'alive'
}

So the err object is null, but the exit code is still 1.
If I comment out the last callback call around line 211 it returns with code 0

@seblapela seblapela changed the title Not caching error but still exit with code 1 always exit with code 1 Jan 17, 2025
@hofbi
Copy link

hofbi commented Feb 4, 2025

Could be related to #369. I am observing the same issue that the check always fails. Last version for me that worked was 3.12.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants