Skip to content

Commit

Permalink
fix: add prettifiedHtml to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
zluuba committed Aug 10, 2023
1 parent 1968b91 commit f98c882
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ const downloadPage = (rawLink, outPath = process.cwd()) => {
});
})
.then((prettifiedHtml) => {
log('------------------ prettifiedHtml ------------------');
log(prettifiedHtml);
log('-----------------------------------------------------');

log(`Writing HTML-file: ${htmlPagePath}`);
return fsp.writeFile(htmlPagePath, prettifiedHtml);
})
Expand Down

0 comments on commit f98c882

Please sign in to comment.