Skip to content
Snippets Groups Projects
Commit 3d750468 authored by jurgenhaas's avatar jurgenhaas
Browse files

Allow to append customn string to templated non-yaml files

parent 157a963e
Branches
Tags v3.2.3
No related merge requests found
......@@ -229,6 +229,9 @@ class Handler extends BaseHandler {
// Render the string again so that custom content can also use variables
$rendered = $this->config->render($filename, $rendered);
}
elseif ($extraOptions !== NULL) {
$rendered .= $extraOptions;
}
if ($fs->exists($file)) {
if (md5_file($file) === md5($rendered)) {
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment