fix(git-hooks): make it executable

This commit is contained in:
Oliver Davies 2023-08-26 23:15:12 +01:00
parent f16ccb81bb
commit 050c28901a

View file

@ -55,6 +55,10 @@ final class GenerateConfigurationFiles
$this->filesystem->chmod("{$this->outputDir}/.githooks/pre-push", 0755);
}
if ($this->filesystem->exists("{$this->outputDir}/.githooks/prepare-commit-msg")) {
$this->filesystem->chmod("{$this->outputDir}/.githooks/prepare-commit-msg", 0755);
}
return $next([$configurationDataDto, $filesToGenerate]);
}
}