Skip to content

Commit

Permalink
Suppress wall message if not on GitHub
Browse files Browse the repository at this point in the history
Currently, abaplint only works on GitHub. There's no need to show an error message if the repo is hosted elsewhere.
  • Loading branch information
mbtools committed Dec 12, 2022
1 parent 1ea3e0e commit a8ccdc7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/zcl_abaplint_abapgit_ext_exit.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ CLASS zcl_abaplint_abapgit_ext_exit IMPLEMENTATION.
RETURN.
ENDTRY.

" abaplint is only available on GitHub
IF lo_repo_online->get_url( ) NS 'github.com'.
RETURN.
ENDIF.

READ TABLE mt_wall INTO ls_wall WITH TABLE KEY commit = lv_commit.
IF sy-subrc <> 0.

Expand Down

0 comments on commit a8ccdc7

Please sign in to comment.