@@ -83,7 +83,7 @@ inquirer
8383 }
8484
8585 // Checks passed now let's start ejecting.
86- console . log ( '\n\n' + chalk . black . bgGreen ( ' Ejecting...' ) ) ;
86+ console . log ( '\n\n— ' + chalk . black . bgGreen ( ' Ejecting...' ) ) ;
8787
8888 const ownPath = paths . ownPath ;
8989 const appPath = paths . appPath ;
@@ -123,8 +123,8 @@ inquirer
123123 files . forEach ( verifyAbsent ) ;
124124
125125 console . log (
126- '\n\n 👉 ' ,
127- `${ chalk . black . bgYellow ( ' Copying files to your plugin... ' ) } ` ,
126+ '\n 👉 ' ,
127+ `${ chalk . black . bgYellow ( ' Copying files to your plugin... \n ' ) } ` ,
128128 `${ chalk . dim ( 'In the directory: ' , appPath ) } ` ,
129129 '\n'
130130 ) ;
@@ -161,16 +161,14 @@ inquirer
161161 fs . writeFileSync ( file . replace ( ownPath , appPath ) , content ) ;
162162 } ) ;
163163
164- console . log ( ) ;
165-
166164 // Select cgb-scripts/package.json file.
167165 const ownPackage = require ( path . join ( ownPath , 'package.json' ) ) ;
168166
169167 // Assume a file called package.json file in current folder.
170168 const appPackage = require ( path . join ( appPath , 'package.json' ) ) ;
171169
172170 console . log (
173- '\n\n 👉 ' ,
171+ '\n 👉 ' ,
174172 `${ chalk . black . bgYellow ( ' Updating the dependencies... ' ) } ` ,
175173 '\n'
176174 ) ;
@@ -216,11 +214,10 @@ inquirer
216214 appPackage . dependencies [ key ] = unsortedDependencies [ key ] ;
217215 } ) ;
218216 console . log ( ` ♻ ${ green ( 'Sorting... ' ) } ` ) ;
219- console . log ( ) ;
220217
221218 // Update the scripts.
222219 console . log (
223- '\n\n 👉 ' ,
220+ '\n 👉 ' ,
224221 `${ chalk . black . bgYellow ( ' Updating the scripts... ' ) } ` ,
225222 '\n'
226223 ) ;
@@ -247,9 +244,8 @@ inquirer
247244 } ) ;
248245 } ) ;
249246
250- console . log ( ) ;
251247 console . log (
252- '\n\n 👉 ' ,
248+ '\n 👉 ' ,
253249 `${ chalk . black . bgYellow ( ' Configuring package.json... ' ) } ` ,
254250 '\n'
255251 ) ;
@@ -308,7 +304,6 @@ inquirer
308304 path . join ( appPath , 'package.json' ) ,
309305 JSON . stringify ( appPackage , null , 2 ) + '\n'
310306 ) ;
311- console . log ( ) ;
312307
313308 // "Don't destroy what isn't ours".
314309 if ( ownPath . indexOf ( appPath ) === 0 ) {
@@ -350,11 +345,9 @@ inquirer
350345 } ) ;
351346 }
352347 console . log ( '\n\n✅ ' , chalk . black . bgGreen ( ' Ejected successfully!' ) , '\n' ) ;
353- console . log ( ) ;
354348
355349 console . log (
356- green ( 'Please consider sharing why you ejected in this survey:' )
350+ green ( 'Kindly, consider sharing why you ejected in this survey:\n ' )
357351 ) ;
358- console . log ( green ( ' https://goo.gl/forms/T901kvHr1kNsJGaJ3 ' ) ) ;
359- console . log ( ) ;
352+ console . log ( green ( '→ https://goo.gl/forms/T901kvHr1kNsJGaJ3 \n' ) ) ;
360353 } ) ;
0 commit comments