diff options
| author | mo khan <mo.khan@gmail.com> | 2019-10-22 10:40:54 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2019-10-22 12:20:37 -0600 |
| commit | e265eb6a6c99499254ee959e41ca80c99a8f67ea (patch) | |
| tree | 93c1f96a9b83154074dcefa74636e8b9ab6f03d3 /run.sh | |
| parent | 7f175952a5a047d785b5ea72c15a10642523c62a (diff) | |
Remove feature flags and temporary mappings
Diffstat (limited to 'run.sh')
| -rwxr-xr-x | run.sh | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -193,21 +193,11 @@ case "$COMMAND" in if [ "$skip_prepare" != true ]; then prepare="--prepare" fi - if [ "$FEATURE_RUBY_REPORT" = 'true' ]; then - echo "Preparing JSON report..." - license_management report ${prepare} --format=json --save=gl-license-management-report.json - else - echo "Preparing HTML report..." - license_finder report ${prepare} --format=html --save=gl-license-management-report.html - fi + echo "Preparing JSON report..." + license_management report ${prepare} --format=json --save=gl-license-management-report.json # rvm removes trap in bash: https://github.com/rvm/rvm/issues/4416 declare -f restore_lockfile > /dev/null && restore_lockfile popd > /dev/null - - if [ -f "gl-license-management-report.html" ]; then - # Extract data from the HTML report and put it into a JSON file - node /html2json.js $APP_PATH/gl-license-management-report.html > $APP_PATH/gl-license-management-report.json - fi ;; *) |
