From 13f4ccfdba06b599a5db7c5a192024cbfa365edc Mon Sep 17 00:00:00 2001 From: Sebastian Silbermann Date: Tue, 7 Feb 2023 17:57:43 +0100 Subject: [PATCH] Fix main (#26120) ## Summary Prettier was bumped recently. So any branch not including that bump, might bring in outdated formatting (e.g. https://github.com/facebook/react/pull/26068) ## How did you test this change? - [x] `yarn prettier-all` --- packages/react-devtools-extensions/src/background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-devtools-extensions/src/background.js b/packages/react-devtools-extensions/src/background.js index 8ef96d2ec9b6f..c2203146862b1 100644 --- a/packages/react-devtools-extensions/src/background.js +++ b/packages/react-devtools-extensions/src/background.js @@ -29,7 +29,7 @@ if (!IS_FIREFOX) { world: chrome.scripting.ExecutionWorld.MAIN, }, ], - function() { + function () { // When the content scripts are already registered, an error will be thrown. // It happens when the service worker process is incorrectly duplicated. if (chrome.runtime.lastError) {