Skip to content

Commit

Permalink
fix: jans-ce-setup: add npm run plugin:clean to admin-ui setup
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Jan 18, 2022
1 parent 36c2d0b commit 70f01bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jans-ce-setup/setup_app/installers/config_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def install_admin_ui_frontend(self):
self.run([paths.cmd_chown, '-R', 'node:node', source_dir])
cmd_path = 'PATH=$PATH:{}/bin:{}/bin'.format(Config.jre_home, Config.node_home)

for cmd in ('npm install @openapitools/openapi-generator-cli', 'npm run api', 'npm install', 'npm run build:prod'):
for cmd in ('npm install @openapitools/openapi-generator-cli', 'npm run api', 'npm install', 'npm run plugin:clean', 'npm run build:prod'):
self.logIt("Executing `{}`".format(cmd), pbar=self.service_name)
run_cmd = '{} {}'.format(cmd_path, cmd)
self.run(['/bin/su', 'node','-c', run_cmd], source_dir)
Expand Down

0 comments on commit 70f01bf

Please sign in to comment.