statamic / ssg

The official Statamic Static Site Generator
233 stars 24 forks source link

Process results to handle Skips and Warnings. #71

Closed tao closed 2 years ago

tao commented 3 years ago

At the moment the Generate function looks for $this->skips and $this->warnings but they're never assigned a value. This update sums the results after the workers finish processing the site and assign the values. This is required if you want to fail on errors as highlighted in #70.