chore(package): update prettier to version 1.9.2
This commit is contained in:
		
							parent
							
								
									624ee88abd
								
							
						
					
					
						commit
						1b8aa95a6e
					
				| @ -52,7 +52,7 @@ | |||||||
|     "nock": "^9.0.2", |     "nock": "^9.0.2", | ||||||
|     "nyc": "^11.2.1", |     "nyc": "^11.2.1", | ||||||
|     "p-retry": "^1.0.0", |     "p-retry": "^1.0.0", | ||||||
|     "prettier": "~1.9.0", |     "prettier": "~1.9.2", | ||||||
|     "proxyquire": "^1.8.0", |     "proxyquire": "^1.8.0", | ||||||
|     "sinon": "^4.0.0", |     "sinon": "^4.0.0", | ||||||
|     "tempy": "^0.2.1", |     "tempy": "^0.2.1", | ||||||
|  | |||||||
| @ -7,8 +7,10 @@ import nock from 'nock'; | |||||||
|  * @param {String} [githubUrl='https://api.github.com'] The url on which to intercept http requests. |  * @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. |  * @return {Object} A `nock` object ready to respond to a github authentication request. | ||||||
|  */ |  */ | ||||||
| export default function authenticate( | export default function authenticate({ | ||||||
|   {githubToken = 'GH_TOKEN', githubUrl = 'https://api.github.com', githubApiPathPrefix = ''} = {} |   githubToken = 'GH_TOKEN', | ||||||
| ) { |   githubUrl = 'https://api.github.com', | ||||||
|  |   githubApiPathPrefix = '', | ||||||
|  | } = {}) { | ||||||
|   return nock(`${githubUrl}/${githubApiPathPrefix}`, {reqheaders: {Authorization: `token ${githubToken}`}}); |   return nock(`${githubUrl}/${githubApiPathPrefix}`, {reqheaders: {Authorization: `token ${githubToken}`}}); | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user