Skip to content

Ignore deleted files in `view_to_js_mappings.rb`

Lin Jen-Shin requested to merge fix-when-deleting-view into master

What does this MR do and why?

Ignore non-existing changed files in view_to_js_mappings.rb because it can be deleted

This fixes !107996 (comment 1236793234)

Note that this is just a quick fix for the error. We likely need to read from the deleted files to detect js- attributes there to see if it can affect existing JavaScript files, because they might be still referring to non-existing attributes. Follow up issue: #387936

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Edited by Lin Jen-Shin

Merge request reports

Loading