mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Update the "gulp jsdoc" task to account for API changes in the mkdirp
package (PR 11772 follow-up)
I completely overlooked the fact that we had *one* occurrence of an asynchronous `mkdirp` call in the gulpfile, which thus breaks since the package now uses Promises rather than a callback function; sorry about that!
This commit is contained in:
parent
702fec534d
commit
f53e1409f6
1 changed files with 1 additions and 1 deletions
|
@ -1139,7 +1139,7 @@ gulp.task("jsdoc", function(done) {
|
|||
var JSDOC_FILES = ["src/doc_helper.js", "src/display/api.js"];
|
||||
|
||||
rimraf(JSDOC_BUILD_DIR, function() {
|
||||
mkdirp(JSDOC_BUILD_DIR, function() {
|
||||
mkdirp(JSDOC_BUILD_DIR).then(function() {
|
||||
var command =
|
||||
'"node_modules/.bin/jsdoc" -d ' +
|
||||
JSDOC_BUILD_DIR +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue