File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ import execa from 'execa';
33import inquirer from 'inquirer' ;
44import getConfig from './getConfig' ;
55
6- const cwd = process . cwd ( ) ;
7-
86const sgcPrompt = ( ) => {
97 const config = getConfig ( ) ;
108 const choices = [ ] ;
@@ -46,10 +44,10 @@ const sgcPrompt = () => {
4644 const message = answers . moreInfo ? `"${ answers . editor } "` : `"${ answers . type } ${ answers . description } "` ;
4745
4846 execa ( 'git' , [ 'commit' , '-m' , message ] )
49- . then ( ( result ) => console . log ( process . stdout ) )
47+ . then ( result => console . log ( result . stdout ) )
5048 . catch ( ( err ) => {
5149 console . error ( chalk . red ( "Have you thought about 'git add' some files? Add files and try run following again:\n" ) ) ;
52- console . error ( chalk . green ( err . cmd ) )
50+ console . error ( chalk . green ( err . cmd ) ) ;
5351 } ) ;
5452 } ) ;
5553} ;
You can’t perform that action at this time.
0 commit comments