({ node })
| 36 | } |
| 37 | }, |
| 38 | CallExpression({ node }) { |
| 39 | if ( |
| 40 | t.isIdentifier(node.callee, { name: "require" }) && |
| 41 | t.isStringLiteral(node.arguments[0]) |
| 42 | ) { |
| 43 | node.arguments[0].value = replaceNodeProtocol( |
| 44 | node.arguments[0].value |
| 45 | ); |
| 46 | } |
| 47 | }, |
| 48 | }, |
| 49 | }; |
| 50 | } |
nothing calls this directly
no test coverage detected