File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
plugins/gatsby-source-react-error-codes Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11declare module 'hex2rgba' {
2- declare module . exports : ( hex : string , alpha ? : number ) = > string ;
2+ declare module . exports : ( hex : string , alpha ? : number ) = > string ;
33}
Original file line number Diff line number Diff line change 11const request = require ( 'request-promise' ) ;
22
3- const errorCodesUrl = 'http://raw.githubusercontent.com/facebook/react/master/scripts/error-codes/codes.json' ;
3+ const errorCodesUrl =
4+ 'http://raw.githubusercontent.com/facebook/react/master/scripts/error-codes/codes.json' ;
45
5- exports . sourceNodes = async ( { boundActionCreators } ) => {
6- const { createNode } = boundActionCreators ;
6+ exports . sourceNodes = async ( { boundActionCreators} ) => {
7+ const { createNode} = boundActionCreators ;
78
89 const jsonString = await request ( errorCodesUrl ) ;
910
@@ -16,4 +17,4 @@ exports.sourceNodes = async ({ boundActionCreators }) => {
1617 contentDigest : jsonString ,
1718 } ,
1819 } ) ;
19- } ;
20+ } ;
Original file line number Diff line number Diff line change 55 * LICENSE file in the root directory of this source tree.
66 *
77 * @emails react-core
8- */
8+ */
99
1010'use strict' ;
1111
You can’t perform that action at this time.
0 commit comments