RN: Teach YellowBox to Count
Reviewed By: kassens Differential Revision: D2846410 fb-gh-sync-id: 03127ff30cac54679ed0dbb225551efafb0cafa8
This commit is contained in:
parent
b9a8be97bc
commit
ab87033185
|
@ -83,7 +83,7 @@ function updateWarningMap(format, ...args): void {
|
|||
].join(' ');
|
||||
|
||||
const count = _warningMap.has(warning) ? _warningMap.get(warning) : 0;
|
||||
_warningMap.set(warning, count + 2);
|
||||
_warningMap.set(warning, count + 1);
|
||||
_warningEmitter.emit('warning', _warningMap);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue