From 5c1aacd65f583463b4eded6c2a8a96f7483c3465 Mon Sep 17 00:00:00 2001 From: Ben Gourley Date: Mon, 5 Jul 2021 15:03:29 +0100 Subject: [PATCH] fix(plugin-react-native-unhandled-rejection): Remove flow syntax --- .../rejection-handler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-react-native-unhandled-rejection/rejection-handler.js b/packages/plugin-react-native-unhandled-rejection/rejection-handler.js index fb3cf1894f..2fd5f62334 100644 --- a/packages/plugin-react-native-unhandled-rejection/rejection-handler.js +++ b/packages/plugin-react-native-unhandled-rejection/rejection-handler.js @@ -51,7 +51,7 @@ const rnInternalOnUnhandled = (id, rejection) => { const warning = `Possible Unhandled Promise Rejection (id: ${id}):\n` + - `${message ?? ''}\n` + + `${message || ''}\n` + (stack == null ? '' : stack) console.warn(warning) }