mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-03 02:21:05 +08:00
.ts files go through a different code path to .js files and weren't subject to a migrated directory check, meaning .ts files could still contain ls`` calls even when their containing directory had been migrated already. This fixes the existing violations and adds the check for .ts files so that presubmit will complain in the future. Fixed: 1174505 Change-Id: Ic76c4c0634ac279bb27a131f891d3a3b9490c3f4 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2673829 Commit-Queue: Peter Marshall <petermarshall@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Christy Chen <chrche@microsoft.com> Reviewed-by: Simon Zünd <szuend@chromium.org>