Unverified Commit 4582491a authored by Andreas Cederström's avatar Andreas Cederström Committed by GitHub
Browse files

Fix eslint complaints in build.js (#7870)

parent a351750b
2 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk
Showing with 1 addition and 1 deletion
+1 -1
......@@ -172,7 +172,7 @@ function build(previousFileSizes) {
let errMessage = err.message;
// Add additional information for postcss errors
if (err.hasOwnProperty('postcssNode')) {
if (Object.prototype.hasOwnProperty.call(err, 'postcssNode')) {
errMessage +=
'\nCompileError: Begins at CSS selector ' +
err['postcssNode'].selector;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment