We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1400940 commit baf0551Copy full SHA for baf0551
example/render.js
@@ -1,3 +1,3 @@
1
import jsdoc from 'jsdoc-api'
2
3
-await jsdoc.render({ files: ['index.js'], destination: 'jsdoc-output' })
+await jsdoc.render({ files: ['.'], destination: 'jsdoc-output' })
lib/render.js
@@ -6,7 +6,7 @@ class Render extends JsdocCommand {
6
async getOutput () {
7
return new Promise((resolve, reject) => {
8
const jsdocArgs = toSpawnArgs(this.jsdocOptions)
9
- .concat(this.options.source ? this.tempFile.path : this.inputFileSet.files)
+ .concat(this.options.source ? this.tempFile.path : this.options.files)
10
11
jsdocArgs.unshift(this.jsdocPath)
12
const handle = spawn('node', jsdocArgs, { stdio: 'inherit' })
0 commit comments