(name, hook)
| 239 | * @returns {string} result |
| 240 | */ |
| 241 | const deprecationChangedHookMessage = (name, hook) => { |
| 242 | const names = hook.taps.map((tapped) => tapped.name).join(", "); |
| 243 | |
| 244 | return ( |
| 245 | `NormalModuleFactory.${name} (${names}) is no longer a waterfall hook, but a bailing hook instead. ` + |
| 246 | "Do not return the passed object, but modify it instead. " + |
| 247 | "Returning false will ignore the request and results in no module created." |
| 248 | ); |
| 249 | }; |
| 250 | |
| 251 | const ruleSetCompiler = new RuleSetCompiler([ |
| 252 | new BasicMatcherRulePlugin("test", "resource"), |
no outgoing calls
no test coverage detected