( command: string | null, definition: FlagDefinition | undefined, )
| 113 | } |
| 114 | |
| 115 | function shouldPassThroughLocalToolFlag( |
| 116 | command: string | null, |
| 117 | definition: FlagDefinition | undefined, |
| 118 | ): boolean { |
| 119 | if (command !== 'react-devtools') return false; |
| 120 | if (!definition) return true; |
| 121 | return !isFlagSupportedForCommand(definition.key, command); |
| 122 | } |
| 123 | |
| 124 | function shouldPreservePostCommandArgs(command: string | null): boolean { |
| 125 | return command === 'cdp'; |
no test coverage detected