Skip to content

Commit 7850904

Browse files
committed
Format
1 parent 1eec5db commit 7850904

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/react-devtools-shared/src/hook.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,13 @@ export function installHook(target: any): DevToolsHook | null {
181181
inputArgs === null ||
182182
inputArgs.length === 0 ||
183183
// Matches any of %c but not %%c
184-
(typeof inputArgs[0] === 'string' && inputArgs[0].match(/([^%]|^)(%c)/g)) ||
184+
(typeof inputArgs[0] === 'string' &&
185+
inputArgs[0].match(/([^%]|^)(%c)/g)) ||
185186
style === undefined
186187
) {
187188
return inputArgs;
188189
}
189-
190+
190191
// Matches any of %(o|O|d|i|s|f), but not %%(o|O|d|i|s|f)
191192
const REGEXP = /([^%]|^)(%([oOdisf]))/g;
192193
if (inputArgs[0].match(REGEXP)) {

yarn.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -13629,7 +13629,7 @@ rc@^1.0.1, rc@^1.1.6, rc@^1.2.8:
1362913629
prop-types "^15.6.2"
1363013630
scheduler "^0.13.0"
1363113631

13632-
react-is@^16.8.1, "react-is@npm:react-is":
13632+
"react-is@^16.12.0 || ^17.0.0", react-is@^16.8.1, react-is@^17.0.1, "react-is@npm:react-is":
1363313633
version "17.0.2"
1363413634
resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0"
1363513635
integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==

0 commit comments

Comments
 (0)