fix(docblock-generator): eslint errors + missing await (#7281)
* chore: add missing await in docblock generator * add fix for undefined symbol * fix dirname path
This commit is contained in:
@@ -40,7 +40,7 @@ export default async function runGitChanges({
|
||||
...options,
|
||||
})
|
||||
|
||||
oasGenerator.run()
|
||||
await oasGenerator.run()
|
||||
}
|
||||
|
||||
console.log(`Finished generating docs for ${files.length} files.`)
|
||||
|
||||
@@ -48,7 +48,7 @@ export default async function (
|
||||
...options,
|
||||
})
|
||||
|
||||
oasGenerator.run()
|
||||
await oasGenerator.run()
|
||||
}
|
||||
|
||||
console.log(`Finished generating docs for ${filteredFiles.length} files.`)
|
||||
|
||||
@@ -46,7 +46,7 @@ export default async function ({ type, tag, ...options }: CommonCliOptions) {
|
||||
...options,
|
||||
})
|
||||
|
||||
oasGenerator.run()
|
||||
await oasGenerator.run()
|
||||
}
|
||||
|
||||
console.log(`Finished generating docs for ${filteredFiles.length} files.`)
|
||||
|
||||
Reference in New Issue
Block a user