diff --git a/Processor.php b/Processor.php index 6dc208f..2391aa2 100644 --- a/Processor.php +++ b/Processor.php @@ -24,7 +24,11 @@ public function processFile(array $config) $parameterKey = $config['parameter-key']; $exists = is_file($realFile); - + if (!$exists && is_link($realFile)) { + $realFile = readlink($realFile); + $exists = is_file($realFile); + } + $yamlParser = new Parser(); $action = $exists ? 'Updating' : 'Creating';