Skip to content

Commit 193317b

Browse files
author
Eran Hammer
committed
Cleanup for hapijs#2502
1 parent 98fe40e commit 193317b

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 8.4.x API Reference
1+
# 8.5.x API Reference
22

33
- [Server](#server)
44
- [`new Server([options])`](#new-serveroptions)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Lead Maintainer: [Eran Hammer](https://github.com/hueniverse)
88
authentication, and other essential facilities for building web and services applications. **hapi** enables
99
developers to focus on writing reusable application in a highly modular and prescriptive approach.
1010

11-
Development version: **8.4.x** ([release notes](https://github.com/hapijs/hapi/issues?labels=release+notes&page=1&state=closed))
11+
Development version: **8.5.x** ([release notes](https://github.com/hapijs/hapi/issues?labels=release+notes&page=1&state=closed))
1212
[![Build Status](https://secure.travis-ci.org/hapijs/hapi.svg)](http://travis-ci.org/hapijs/hapi)
1313

1414
For the latest updates and release information visit [hapijs.com](http://hapijs.com) and follow [@hapijs](https://twitter.com/hapijs) on twitter. If you have questions, please open an issue in the

lib/connection.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,9 @@ internals.Connection.prototype._dispatch = function (options) {
237237
internals.Connection.prototype.inject = function (options, callback) {
238238

239239
var settings = options;
240-
if (settings.credentials || settings.artifacts) {
240+
if (settings.credentials ||
241+
settings.artifacts) {
242+
241243
settings = Hoek.shallow(options); // options can be reused
242244
delete settings.credentials;
243245
delete settings.artifacts;
@@ -247,6 +249,7 @@ internals.Connection.prototype.inject = function (options, callback) {
247249
credentials: options.credentials,
248250
artifacts: options.artifacts
249251
});
252+
250253
Shot.inject(needle, settings, function (res) {
251254

252255
if (res.raw.res._hapi) {

lib/request.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ exports = module.exports = internals.Request = function (connection, req, res, o
8989
if (options.credentials) {
9090
this.auth.credentials = options.credentials;
9191
}
92+
9293
if (options.artifacts) {
9394
this.auth.artifacts = options.artifacts;
9495
}

npm-shrinkwrap.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "hapi",
33
"description": "HTTP Server framework",
44
"homepage": "http://hapijs.com",
5-
"version": "8.4.1",
5+
"version": "8.5.0",
66
"repository": {
77
"type": "git",
88
"url": "git://github.com/hapijs/hapi"

0 commit comments

Comments
 (0)