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