@@ -35,7 +35,7 @@ const questions = [
3535 name : 'repoHost' ,
3636 message :
3737 "Where is the repository hosted? Hit Enter if it's on GitHub or GitLab" ,
38- default : function ( answers ) {
38+ default : function ( answers ) {
3939 if ( answers . repoType === 'github' ) {
4040 return 'https://github.com'
4141 } else if ( answers . repoType === 'gitlab' ) {
@@ -58,10 +58,10 @@ const questions = [
5858 type : 'input' ,
5959 name : 'badgeFile' ,
6060 message : 'In which file should the badge be shown?' ,
61- when : function ( answers ) {
61+ when : function ( answers ) {
6262 return answers . needBadge
6363 } ,
64- default : function ( answers ) {
64+ default : function ( answers ) {
6565 return answers . contributorFile
6666 } ,
6767 } ,
@@ -84,14 +84,11 @@ const questions = [
8484 name : 'commitConvention' ,
8585 message : 'What commit convention would you want it to use?' ,
8686 choices : Object . values ( conventions ) ,
87- default : 'none ' ,
87+ default : 'angular ' ,
8888 } ,
8989]
9090
91- const uniqueFiles = _ . flow (
92- _ . compact ,
93- _ . uniq ,
94- )
91+ const uniqueFiles = _ . flow ( _ . compact , _ . uniq )
9592
9693module . exports = function prompt ( ) {
9794 return git
0 commit comments