Skip to content

Commit

Permalink
Merge pull request #6739 from dmt0/dont-hide-errors
Browse files Browse the repository at this point in the history
Don't hide compilation errors
  • Loading branch information
archmoj committed Oct 4, 2023
2 parents 915a52b + 0ef1748 commit 724bab1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions draftlogs/6739_fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix error display for failing builds [[#6739](https://github.com/plotly/plotly.js/pull/6739)]
2 changes: 2 additions & 0 deletions tasks/util/bundle_wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ module.exports = function _bundle(pathToIndex, pathToBundle, opts, cb) {
console.log('err:', err);
} else if(stats.errors && stats.errors.length) {
console.log('stats.errors:', stats.errors);
} else if(stats.compilation && stats.compilation.errors && stats.compilation.errors.length) {
console.log('stats.compilation.errors:', stats.compilation.errors);
} else {
console.log('success:', config.output.path + '/' + config.output.filename);

Expand Down

0 comments on commit 724bab1

Please sign in to comment.