Skip to content

Commit

Permalink
Add messages about processing global and pattern specific data
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksip committed Sep 15, 2019
1 parent 6dfcf1f commit cb37261
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aleksip/DataTransformPlugin/DataTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ public function run(Renderer $renderer)
}
$this->renderer = $renderer;
// Process global data.
DataTransformPlugin::writeInfo('processing global data');
$dataStore = $this->processData(Data::get());
Data::replaceStore($dataStore);
// Process pattern specific data.
DataTransformPlugin::writeInfo('processing pattern specific data');
foreach (array_keys($this->patternDataStore) as $pattern) {
$this->currentPattern = $pattern;
$this->processPattern($pattern);
Expand Down

0 comments on commit cb37261

Please sign in to comment.