File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/react-scripts/scripts Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -100,13 +100,18 @@ prompt(
100100 Object . keys ( appPackage . scripts ) . forEach ( function ( key ) {
101101 appPackage . scripts [ key ] = appPackage . scripts [ key ]
102102 . replace ( / r e a c t - s c r i p t s ( \w + ) / g, 'node scripts/$1.js' ) ;
103- console . log ( ' Replacing ' + cyan ( '\"react-scripts ' + key + '\"' ) + ' with ' + cyan ( '\"' + appPackage . scripts [ key ] + '\"' ) ) ;
103+ console . log (
104+ ' Replacing ' +
105+ cyan ( '\"react-scripts ' + key + '\"' ) +
106+ ' with ' +
107+ cyan ( '\"' + appPackage . scripts [ key ] + '\"' )
108+ ) ;
104109 } ) ;
105110
106111 console . log ( ) ;
107112 console . log ( cyan ( 'Adding configuration to ' ) + 'package.json' + cyan ( '...' ) ) ;
108113 // Add Jest config
109- console . log ( ' Adding ' + cyan ( 'Jest' ) + ' configuration' )
114+ console . log ( ' Adding ' + cyan ( 'Jest' ) + ' configuration' ) ;
110115 appPackage . jest = createJestConfig (
111116 filePath => path . join ( '<rootDir>' , filePath ) ,
112117 null ,
You can’t perform that action at this time.
0 commit comments