Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix files installation if no Git repo is available #1581

Merged
merged 1 commit into from
Nov 7, 2022
Merged

Conversation

qwerty287
Copy link
Contributor

If there is no Git repository and you try to run scripts/install_files.php, it fails because the directory does not exist. This just skips the hooks installation.

(Every other change was done by php-cs-fixer but everything still works.)

@qwerty287 qwerty287 added this to the 4.6.2 milestone Nov 6, 2022
@qwerty287 qwerty287 requested a review from a team November 6, 2022 19:21
@qwerty287 qwerty287 removed this from the 4.6.2 milestone Nov 6, 2022
@qwerty287 qwerty287 changed the title Fix files installation if no Git repo is avaialable Fix files installation if no Git repo is available Nov 6, 2022
@codecov
Copy link

codecov bot commented Nov 6, 2022

Codecov Report

Merging #1581 (093a93b) into master (5bdd75e) will decrease coverage by 0.89%.
The diff coverage is n/a.

Additional details and impacted files

@ildyria ildyria merged commit 296db84 into master Nov 7, 2022
@ildyria ildyria deleted the fix-no-git branch November 7, 2022 09:03
@ildyria ildyria added this to the 4.6.2 milestone Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants