-
Notifications
You must be signed in to change notification settings - Fork 30
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
refactor: remove unused deps and simplify #248
Conversation
Codecov Report
@@ Coverage Diff @@
## master #248 +/- ##
==========================================
- Coverage 88.79% 88.47% -0.32%
==========================================
Files 29 29
Lines 1276 1241 -35
Branches 151 151
==========================================
- Hits 1133 1098 -35
Misses 87 87
Partials 56 56
Continue to review full report at Codecov.
|
client.sendError(em); | ||
} | ||
if (is.object(client) && is.function(client.sendError)) | ||
{ client.sendError(em); } |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
client.sendError(hapiErrorHandler(err, req, config)); | ||
}); | ||
} | ||
if (is.function(server.on)) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This does a few things:
Object.assign
is