mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
less nesting, fix build error
This commit is contained in:
parent
7572a7ddee
commit
1c11d62549
|
@ -3,7 +3,7 @@ REPORT zabapgit.
|
|||
* See http://www.abapgit.org
|
||||
|
||||
CONSTANTS: gc_xml_version TYPE string VALUE 'v1.0.0', "#EC NOTEXT
|
||||
gc_abap_version TYPE string VALUE 'v1.6.0'. "#EC NOTEXT
|
||||
gc_abap_version TYPE string VALUE 'v1.6.1'. "#EC NOTEXT
|
||||
|
||||
********************************************************************************
|
||||
* The MIT License (MIT)
|
||||
|
@ -18329,6 +18329,10 @@ CLASS lcl_gui_page_main IMPLEMENTATION.
|
|||
LOOP AT lt_repo INTO lo_repo.
|
||||
TRY.
|
||||
lo_repo_online ?= lo_repo.
|
||||
CATCH cx_sy_move_cast_error.
|
||||
CONTINUE. "the repositories we're looking for are online-repositories
|
||||
ENDTRY.
|
||||
|
||||
lv_url = lo_repo_online->get_url( ).
|
||||
lv_package = lo_repo_online->get_package( ).
|
||||
IF to_upper( lv_url ) <> to_upper( iv_url ).
|
||||
|
@ -18336,16 +18340,11 @@ CLASS lcl_gui_page_main IMPLEMENTATION.
|
|||
ENDIF.
|
||||
|
||||
IF iv_target_package IS NOT INITIAL AND iv_target_package <> lv_package.
|
||||
lv_err = |Installation to package {
|
||||
lv_package } detected. Cancelling installation|.
|
||||
lv_err = |Installation to package { lv_package } detected. Cancelling installation|.
|
||||
_raise lv_err.
|
||||
ENDIF.
|
||||
|
||||
rv_installed = abap_true.
|
||||
|
||||
CATCH cx_sy_move_cast_error.
|
||||
CONTINUE. "the repositories we're looking for are online-repositories
|
||||
ENDTRY.
|
||||
ENDLOOP.
|
||||
|
||||
ENDMETHOD. "is_repo_installed
|
||||
|
|
Loading…
Reference in New Issue
Block a user