-
Notifications
You must be signed in to change notification settings - Fork 111
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
Console error code of 2 during successful commands? #74
Comments
So, basically the command will exit with a status code of 2 if the website you're trying to run the command against has vulnerabilities. is-website-vulnerable/bin/is-website-vulnerable.js Lines 62 to 63 in 492bd53
|
Ok thanks for letting me know. Is there an exit status code for unsuccessful commands (such as the website DNS records could not be found)? |
Yes, it is 1 is-website-vulnerable/bin/is-website-vulnerable.js Lines 68 to 70 in 492bd53
|
Thanks Raj for picking up this one! |
Should we document those Exit codes in the README, @lirantal? |
@Ryuno-Ki yes, sounds like a great idea! |
At your command: #81 |
Not sure if this is the intended behavior, but when I run the command successfully, it still outputs a console error code of "2". If I understand correctly, a successful command should output "0" for successful executions.
Is this the correct behavior?
If desired I can fill out the full bug report, but I figured a quick post would be better to address this small issue.
Otherwise thanks for the awesome package!
The text was updated successfully, but these errors were encountered: