Browse Source

Don't write state information into metadata from engine as all the actual state is now in compiler

master
Adam Pippin 3 years ago
parent
commit
9dbe97a3ec
  1. 6
      app/Engine/Engine.php

6
app/Engine/Engine.php

@ -91,10 +91,8 @@ class Engine
$documents = array_values($documents);
// Pass it all in and compile
$document = $this->compileDocuments($documents, $options);
// Set metadata in output
$document->setChildByPath('Metadata.Stack', $files);
$this->compileDocuments($documents, $options);
$document = $this->getOutputDocument();
// Remove cfnpp block, that doesn't go to CloudFormation
$cfnpp = $document->getChildByName('cfnpp');

Loading…
Cancel
Save