Unverified Commit 9e0e18fd authored by Jay Phelps's avatar Jay Phelps Committed by Joe Haddad
Browse files

UX: Explain why build is failing (#1352)

parent adab23fa
Showing with 1 addition and 1 deletion
+1 -1
...@@ -144,7 +144,7 @@ function build(previousSizeMap) { ...@@ -144,7 +144,7 @@ function build(previousSizeMap) {
} }
if (process.env.CI && stats.compilation.warnings.length) { if (process.env.CI && stats.compilation.warnings.length) {
printErrors('Failed to compile.', stats.compilation.warnings); printErrors('Failed to compile. When process.env.CI = true, warnings are treated as failures. Most CI servers set this automatically.', stats.compilation.warnings);
process.exit(1); process.exit(1);
} }
......
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