(paths)
| 316 | }; |
| 317 | |
| 318 | function resolvePluginPaths(paths) { |
| 319 | const path = require('jsdoc/path'); |
| 320 | |
| 321 | const pluginPaths = []; |
| 322 | |
| 323 | paths.forEach(plugin => { |
| 324 | const basename = path.basename(plugin); |
| 325 | const dirname = path.dirname(plugin); |
| 326 | const pluginPath = path.getResourcePath(dirname, basename); |
| 327 | |
| 328 | if (!pluginPath) { |
| 329 | logger.error('Unable to find the plugin "%s"', plugin); |
| 330 | |
| 331 | return; |
| 332 | } |
| 333 | |
| 334 | pluginPaths.push( pluginPath ); |
| 335 | }); |
| 336 | |
| 337 | return pluginPaths; |
| 338 | } |
| 339 | |
| 340 | cli.createParser = () => { |
| 341 | const handlers = require('jsdoc/src/handlers'); |
no outgoing calls
no test coverage detected
searching dependent graphs…