Skip to content

Commit a02a112

Browse files
committed
Improved error output
Signed-off-by: Jaid <jaid.jsx@gmail.com>
1 parent 04eb52d commit a02a112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ export default class {
213213
files: compiler.options.entry,
214214
configure: configPath,
215215
})
216-
postProcess?.(config)
217216
if (!fss.pathExists(config.opts.destination)) {
218217
throw new Error(`JSDoc for ${name} has run without any error, but ${config.opts.destination} does not exist!`)
219218
}
219+
postProcess?.(config)
220220
}
221221

222222
if (this.options.autoTsdOutputFile) {

0 commit comments

Comments
 (0)