Skip to content

Fix setting rsync flags in case they are empty#4044

Merged
antonmedv merged 1 commit intodeployphp:masterfrom
M-arcus:fix-rsync-flags
Mar 27, 2025
Merged

Fix setting rsync flags in case they are empty#4044
antonmedv merged 1 commit intodeployphp:masterfrom
M-arcus:fix-rsync-flags

Conversation

@M-arcus
Copy link
Contributor

@M-arcus M-arcus commented Mar 27, 2025

This pull request includes a change to the contrib/rsync.php file to improve the handling of rsync flags.

  • Added a conditional check to ensure rsyncFlags is only set if config['flags'] is a non-empty string, preventing potential issues with empty flags. ([contrib/rsync.phpR240-R249](https://github.com/deployphp/deployer/pull/4044/files#diff-4e6ff92f13738c9c98420add8973b9930d77145285d3c5ed26b119682e61ba49R240-R249))

@antonmedv antonmedv merged commit 2afaef6 into deployphp:master Mar 27, 2025
6 checks passed
@M-arcus M-arcus deleted the fix-rsync-flags branch March 27, 2025 12:41
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.

2 participants