From 59a0931e9bdcd1c4bba07b345bc77231bf0319ac Mon Sep 17 00:00:00 2001 From: Ahmad Awais Date: Thu, 13 Sep 2018 20:42:37 +0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20Print=20Next=20Steps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- installer/modules/printNextSteps.js | 65 ++++++++++++++--------------- 1 file changed, 32 insertions(+), 33 deletions(-) diff --git a/installer/modules/printNextSteps.js b/installer/modules/printNextSteps.js index 18cac17..8cde9dd 100644 --- a/installer/modules/printNextSteps.js +++ b/installer/modules/printNextSteps.js @@ -8,39 +8,38 @@ const chalk = require( 'chalk' ); /* eslint-disable no-console */ -// module.exports = () => { -console.log( '\n\nāœ… ', chalk.black.bgGreen( ' All done! Use your code for good. \n' ) ); -console.log( - 'Installer has added WPGulp files to the current directory. ', - '\nInside this directory, you can run this command:' -); +module.exports = () => { + console.log( '\n\nāœ… ', chalk.black.bgGreen( ' All done! Use your code for good. \n' ) ); + console.log( + 'Installer has added WPGulp files to the current directory. ', + '\nInside this directory, you can run this command:' + ); -// Scripts. -console.log( - '\nšŸ‘‰ ', - ' Type', - chalk.black.bgWhite( ' npm start ' ), - '\n\n', - ' Use to compile and run your files.', - '\n', - ' Watches for any changes and reports back any errors in your code.' -); + // Scripts. + console.log( + '\nšŸ‘‰ ', + ' Type', + chalk.black.bgWhite( ' npm start ' ), + '\n\n', + ' Use to compile and run your files.', + '\n', + ' Watches for any changes and reports back any errors in your code.' + ); -// Support. -console.log( '\nāœŠ ', chalk.black.bgYellow( ' Support WPGulp \n' ) ); -console.log( - 'Like WPGulp? You can now support this free and open source project i.e. more updates and better maintenance: \n' -); -console.log( - ` ${chalk.yellow( 'Support for one hour or more ā†’' )} https://AhmdA.ws/WPG99`, - '\n', - ` ${chalk.yellow( 'More ways to support ā†’' )} https://AhmdA.ws/WPGSupport` -); + // Support. + console.log( '\nāœŠ ', chalk.black.bgYellow( ' Support WPGulp \n' ) ); + console.log( + 'Like WPGulp? You can now support this free and open source project i.e. more updates and better maintenance: \n' + ); + console.log( + ` ${chalk.yellow( 'Support for one hour or more ā†’' )} https://AhmdA.ws/WPG99`, + '\n', + ` ${chalk.yellow( 'More ways to support ā†’' )} https://AhmdA.ws/WPGSupport` + ); -// Get started. -console.log( '\n\nšŸŽÆ ', chalk.black.bgGreen( ' Get Started ā†’ \n' ) ); -console.log( ' I suggest that you begin by: \n' ); -console.log( ` ${chalk.dim( '1.' )} Editing the ${chalk.green( 'wpgulp.config.js' )} file` ); -console.log( ` ${chalk.dim( '2.' )} Running ${chalk.green( 'npm' )} start`, '\n\n' ); - -// }; + // Get started. + console.log( '\n\nšŸŽÆ ', chalk.black.bgGreen( ' Get Started ā†’ \n' ) ); + console.log( ' I suggest that you begin by: \n' ); + console.log( ` ${chalk.dim( '1.' )} Editing the ${chalk.green( 'wpgulp.config.js' )} file` ); + console.log( ` ${chalk.dim( '2.' )} Running ${chalk.green( 'npm' )} start`, '\n\n' ); +};