mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 11:46:38 +08:00
unexpected folder structure #1425
treat objects as non existing when outside the starting folder
This commit is contained in:
parent
145a82e9ef
commit
fa94fa8ea1
|
@ -27,7 +27,7 @@ ENDCLASS.
|
|||
|
||||
|
||||
|
||||
CLASS zcl_abapgit_folder_logic IMPLEMENTATION.
|
||||
CLASS ZCL_ABAPGIT_FOLDER_LOGIC IMPLEMENTATION.
|
||||
|
||||
|
||||
METHOD package_to_path.
|
||||
|
@ -109,7 +109,8 @@ CLASS zcl_abapgit_folder_logic IMPLEMENTATION.
|
|||
|
||||
lv_length = strlen( io_dot->get_starting_folder( ) ).
|
||||
IF lv_length > strlen( iv_path ).
|
||||
zcx_abapgit_exception=>raise( 'unexpected folder structure' ).
|
||||
* treat as not existing locally
|
||||
RETURN.
|
||||
ENDIF.
|
||||
lv_path = iv_path+lv_length.
|
||||
lv_parent = lv_top.
|
||||
|
|
Loading…
Reference in New Issue
Block a user