Skip to content

Commit 0b6618a

Browse files
committed
Format
1 parent 1eec5db commit 0b6618a

File tree

1 file changed

+3
-2
lines changed
  • packages/react-devtools-shared/src

1 file changed

+3
-2
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)) {

0 commit comments

Comments
 (0)