mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
ENHO: check existence before deletion
With this commit we add an existence check the delete method of ENHO serializer because some enhancements, like implicit source code enhancements of classes, are deleted implicitly.
This commit is contained in:
parent
d0a721b2cf
commit
4cdcb53c2b
|
@ -116,6 +116,9 @@ CLASS ZCL_ABAPGIT_OBJECT_ENHO IMPLEMENTATION.
|
|||
DATA: lv_enh_id TYPE enhname,
|
||||
li_enh_object TYPE REF TO if_enh_object.
|
||||
|
||||
IF zif_abapgit_object~exists( ) = abap_false.
|
||||
RETURN.
|
||||
ENDIF.
|
||||
|
||||
lv_enh_id = ms_item-obj_name.
|
||||
TRY.
|
||||
|
|
Loading…
Reference in New Issue
Block a user