Skip to content

Commit

Permalink
fix: jans-linux-setup code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed May 2, 2022
1 parent 4f362e5 commit 09bb36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jans-linux-setup/jans_setup/setup_app/installers/jetty.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def installJettyService(self, serviceConfiguration, supportCustomizations=False,

jetty_modules_list = [m.strip() for m in jetty_modules.split(',')]
if self.jetty_dist_string == 'jetty-home':
if not 'cdi-decorate' in jetty_modules_list:
if 'cdi-decorate' not in jetty_modules_list:
jetty_modules_list.append('cdi-decorate')
jetty_modules = ','.join(jetty_modules_list)

Expand Down

0 comments on commit 09bb36e

Please sign in to comment.