Skip to content

Commit

Permalink
fix: ensure directory is created synchronously when exporting 3rd par…
Browse files Browse the repository at this point in the history
…ties
  • Loading branch information
mjeanroy committed Aug 8, 2019
1 parent 9a4f76e commit 7e98ede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/license-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ module.exports = class LicensePlugin {
this.debug(`exporting third-party summary to ${output}`);

// Create directory if it does not already exist.
mkdirp(path.parse(output).dir);
mkdirp.sync(path.parse(output).dir);

const includePrivate = thirdParty.includePrivate;
const text = _.chain(this._dependencies)
Expand Down

0 comments on commit 7e98ede

Please sign in to comment.