chore(package): update prettier to version 1.9.2

This commit is contained in:
greenkeeper[bot]
2017-12-12 00:01:12 -05:00
committed by Pierre Vanduynslager
parent 624ee88abd
commit 1b8aa95a6e
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -7,8 +7,10 @@ import nock from 'nock';
* @param {String} [githubUrl='https://api.github.com'] The url on which to intercept http requests.
* @return {Object} A `nock` object ready to respond to a github authentication request.
*/
export default function authenticate(
{githubToken = 'GH_TOKEN', githubUrl = 'https://api.github.com', githubApiPathPrefix = ''} = {}
) {
export default function authenticate({
githubToken = 'GH_TOKEN',
githubUrl = 'https://api.github.com',
githubApiPathPrefix = '',
} = {}) {
return nock(`${githubUrl}/${githubApiPathPrefix}`, {reqheaders: {Authorization: `token ${githubToken}`}});
}