Home
last modified time | relevance | path

Searched refs:requirePath (Results 1 – 1 of 1) sorted by relevance

/plugin/asciidocjs/node_modules/@asciidoctor/cli/lib/
Dinvoker.js119 static requireLibrary (requirePath, cwd = process.cwd()) { argument
120 if (requirePath.charAt(0) === '.' && DOT_RELATIVE_RX.test(requirePath)) {
122 requirePath = ospath.resolve(requirePath)
123 } else if (!ospath.isAbsolute(requirePath)) {
126 requirePath = require.resolve(requirePath, { paths })
128 return require(requirePath)
134 requirePaths.forEach((requirePath) => {
135 const lib = Invoker.requireLibrary(requirePath)