From 64457770b9350843cb0207ff5f3baba34d9f1349 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 8 May 2023 22:54:17 +0100 Subject: [PATCH] fix: use `outputDir` property --- src/Action/GenerateConfigurationFiles.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Action/GenerateConfigurationFiles.php b/src/Action/GenerateConfigurationFiles.php index 7e221cb..aa7828e 100644 --- a/src/Action/GenerateConfigurationFiles.php +++ b/src/Action/GenerateConfigurationFiles.php @@ -47,12 +47,12 @@ final class GenerateConfigurationFiles }); // If the Docker entrypoint file is generated, ensure it is executable. - if ($this->filesystem->exists("{$outputDir}/tools/docker/images/php/root/usr/local/bin/docker-entrypoint-php")) { - $filesystem->chmod("{$outputDir}/tools/docker/images/php/root/usr/local/bin/docker-entrypoint-php", 0755); + if ($this->filesystem->exists("{$this->outputDir}/tools/docker/images/php/root/usr/local/bin/docker-entrypoint-php")) { + $this->filesystem->chmod("{$this->outputDir}/tools/docker/images/php/root/usr/local/bin/docker-entrypoint-php", 0755); } - if ($this->filesystem->exists("{$outputDir}/.githooks/pre-push")) { - $this->filesystem->chmod("{$outputDir}/.githooks/pre-push", 0755); + if ($this->filesystem->exists("{$this->outputDir}/.githooks/pre-push")) { + $this->filesystem->chmod("{$this->outputDir}/.githooks/pre-push", 0755); } return $next([$configurationDataDto, $filesToGenerate]);