RN: Teach YellowBox to Count

Reviewed By: kassens

Differential Revision: D2846410

fb-gh-sync-id: 03127ff30cac54679ed0dbb225551efafb0cafa8
This commit is contained in:
Tim Yung 2016-01-20 15:13:14 -08:00 committed by facebook-github-bot-4
parent b9a8be97bc
commit ab87033185
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}