Fixed error message when committing

This commit is contained in:
Frederik Hudák 2018-06-18 09:21:51 +02:00
parent c05ff4ce8b
commit 7e4285c1a8

View File

@ -96,7 +96,7 @@ CLASS zcl_abapgit_services_git IMPLEMENTATION.
ELSEIF is_commit-committer_email IS INITIAL. ELSEIF is_commit-committer_email IS INITIAL.
zcx_abapgit_exception=>raise( 'Commit: Committer email empty' ). zcx_abapgit_exception=>raise( 'Commit: Committer email empty' ).
ELSEIF is_commit-author_email IS NOT INITIAL AND is_commit-author_name IS INITIAL. ELSEIF is_commit-author_email IS NOT INITIAL AND is_commit-author_name IS INITIAL.
zcx_abapgit_exception=>raise( 'Commit: Author email empty' ). " Opposite should be OK ? zcx_abapgit_exception=>raise( 'Commit: Author name empty' ). " Opposite should be OK ?
ELSEIF is_commit-comment IS INITIAL. ELSEIF is_commit-comment IS INITIAL.
zcx_abapgit_exception=>raise( 'Commit: empty comment' ). zcx_abapgit_exception=>raise( 'Commit: empty comment' ).
ENDIF. ENDIF.