Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds error message with filename on Markdown error, fixes bug in panicOnBuild #8866

Merged
merged 5 commits into from
Oct 9, 2018
Prev Previous commit
Next Next commit
Removes console.log
  • Loading branch information
mslooten committed Oct 6, 2018
commit 749fd3a71bdb7d0072868d8cd13050a2fd9dfddc
1 change: 0 additions & 1 deletion packages/gatsby-cli/src/reporter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ module.exports = Object.assign(reporter, {

panicOnBuild(...args) {
this.error(...args)
console.log(process.env)
if (process.env.gatsby_executing_command === `build`) {
process.exit(1)
}
Expand Down