Skip to content

Commit

Permalink
chore: update to a logger
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstankiewicz committed May 28, 2023
1 parent d6ccbee commit 7ec92fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/plugins/paragon-webpack-plugin/ParagonWebpackPlugin.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable no-underscore-dangle */
const { Compilation, sources } = require('webpack');
const parse5 = require('parse5');
const {
Expand Down Expand Up @@ -59,7 +58,7 @@ class ParagonWebpackPlugin {
asset.name.includes(this.themeVariantEntryNames.light)
))?.name;
if (!coreCssAsset || !themeVariantLightAsset) {
this.logger('Unable to find paragon assets in compilation. Skipping.');
this.logger("Unable to find `@edx/paragon`'s CSS in compilation assets. Skipping.");
return;
}

Expand Down

0 comments on commit 7ec92fc

Please sign in to comment.