mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-06 03:15:34 +01:00
fix(git-hooks): always create the commit msg hook
This commit is contained in:
parent
acd73bcb4f
commit
ec494d934f
2 changed files with 7 additions and 1 deletions
|
@ -113,6 +113,12 @@ final class CreateListOfFilesToGenerate
|
|||
);
|
||||
}
|
||||
|
||||
$filesToGenerate[] = new TemplateFile(
|
||||
data: 'git-hooks/prepare-commit-msg',
|
||||
name: 'prepare-commit-msg',
|
||||
path: '.githooks',
|
||||
);
|
||||
|
||||
if (Arr::get($configurationData, 'experimental.runGitHooksBeforePush', false) === true) {
|
||||
$filesToGenerate[] = new TemplateFile(
|
||||
data: 'git-hooks/pre-push',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue