Skip to content

Commit 460eca0

Browse files
marcoww6facebook-github-bot
authored andcommitted
Turn on null strict comparison check for xplat js
Summary: X-link: react/react-native#53379 X-link: react/react#34240 Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D80648362 fbshipit-source-id: cc47ae207f29a3ddb68bc0e029b8773f89503c52
1 parent 1add93f commit 460eca0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/metro-file-map/src/lib/RootPathUtils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ export class RootPathUtils {
5757
const rootDirnames = [];
5858
for (
5959
let next = rootDir, previous = null;
60+
/* $FlowFixMe[invalid-compare] Error discovered during Constant Condition
61+
* roll out. See https://fburl.com/workplace/5whu3i34. */
6062
previous !== next;
6163
previous = next, next = path.dirname(next)
6264
) {

0 commit comments

Comments
 (0)