Skip to content

Commit 42a4856

Browse files
greenkeeper[bot]pvdlg
authored andcommitted
chore(package): update prettier to version 1.9.2
1 parent 401fd5e commit 42a4856

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"eslint-plugin-prettier": "^2.3.0",
3737
"nock": "^9.1.0",
3838
"nyc": "^11.2.1",
39-
"prettier": "~1.9.0",
39+
"prettier": "~1.9.2",
4040
"semantic-release": "^10.0.0",
4141
"sinon": "^4.0.0",
4242
"xo": "^0.18.2"

test/helpers/mock-github.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ import nock from 'nock';
88
* @param {String} [githubApiPathPrefix] The GitHub Enterprise API prefix.
99
* @return {Object} A `nock` object ready to respond to a github authentication request.
1010
*/
11-
export function authenticate(
12-
{githubToken = 'GH_TOKEN', githubUrl = 'https://api.github.com', githubApiPathPrefix = ''} = {}
13-
) {
11+
export function authenticate({
12+
githubToken = 'GH_TOKEN',
13+
githubUrl = 'https://api.github.com',
14+
githubApiPathPrefix = '',
15+
} = {}) {
1416
return nock(`${githubUrl}/${githubApiPathPrefix}`, {reqheaders: {Authorization: `token ${githubToken}`}});
1517
}
1618

0 commit comments

Comments
 (0)