-
Notifications
You must be signed in to change notification settings - Fork 10
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
My favorite terrible place #19
Comments
Same problem here: Lines 62 to 68 in e969374
|
Just as an idea, needs reworking to be more matched with code style |
@vird Node.js have status codes collection: https://nodejs.org/api/http.html#httpstatus_codes |
I'm not sure we can use that here. |
be-* package names is backend @vird |
Agree |
number | undefined
is not ok here, why should we pass undefined here?code >= 100 && code < 600
in if statement returns boolean itself, so we do not need to use return true/return falsebe-pkg-utils/src/network.ts
Lines 50 to 60 in e969374
The text was updated successfully, but these errors were encountered: