Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
secneuqes committed Aug 22, 2021
1 parent b7bcf2d commit 42b3571
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,10 @@ getHtml('/wiki/index.php/AIME_Problems_and_Solutions')
}
}
})
}).then(async () => {
if(all!==''){pdf.create(all, options).toFile('./pdf/all.pdf', function(err, res) {
if (err) return console.log(err);
console.log(res);
});}
})
})
// .then(async () => {
// if(all!==''){pdf.create(all, options).toFile('./pdf/all.pdf', function(err, res) {
// if (err) return console.log(err);
// console.log(res);
// });}
// })

0 comments on commit 42b3571

Please sign in to comment.