File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " gitmoji-cli" ,
3
- "version" : " 1.5.2 " ,
3
+ "version" : " 1.5.3 " ,
4
4
"description" : " A gitmoji client for using emojis on commit messages." ,
5
5
"engines" : {
6
6
"node" : " >=4"
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ class GitmojiCli {
202
202
let signed ;
203
203
204
204
if ( sign ) {
205
- signed = '-s ' ;
205
+ signed = '-S ' ;
206
206
} else {
207
207
signed = '' ;
208
208
}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ describe('gitmoji', function() {
28
28
29
29
describe ( 'commit' , function ( ) {
30
30
it ( 'should return the formed commit based on the input prompts' , function ( ) {
31
- gitmojiCli . _commit ( prompts ) . should . equal ( 'git commit -s -m ":zap: Improving performance issues." -m "Refactored code. #5"' ) ;
31
+ gitmojiCli . _commit ( prompts ) . should . equal ( 'git commit -S -m ":zap: Improving performance issues." -m "Refactored code. #5"' ) ;
32
32
} ) ;
33
33
} ) ;
34
34
@@ -63,8 +63,8 @@ describe('gitmoji', function() {
63
63
} ) ;
64
64
65
65
describe ( '_isCommitSigned' , function ( ) {
66
- it ( 'should have the signed commit flag "-s "' , function ( ) {
67
- gitmojiCli . _isCommitSigned ( true ) . should . equal ( '-s ' ) ;
66
+ it ( 'should have the signed commit flag "-S "' , function ( ) {
67
+ gitmojiCli . _isCommitSigned ( true ) . should . equal ( '-S ' ) ;
68
68
} ) ;
69
69
70
70
it ( 'should not have the signed commit flag' , function ( ) {
You can’t perform that action at this time.
0 commit comments