Skip to content

Only return valid ruby spec files

What does this MR do and why?

Closes #406517 (closed).

How to set up and validate locally

cat > input_file.in <<FILE                                                       
app/assets/javascripts/import/details/components/import_details_app.vue
app/assets/javascripts/import/details/components/import_details_table.vue
app/assets/javascripts/import/constants.js
app/assets/javascripts/import_entities/components/import_status.vue
locale/gitlab.pot
spec/frontend/import/details/components/import_details_table_spec.js
FILE

touch output.out

tooling/bin/js_to_system_specs_mappings input_file.in output.out; cat output.out
# The output does not contain the `.tar.gz` spec anymore

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading