Skip to content

Removed asterisk from cleanup_exclude_files storage/logs entry - #7

Merged
shanerbaner82 merged 2 commits into
NativePHP:mainfrom
tmbenhura:main
Aug 3, 2026
Merged

Removed asterisk from cleanup_exclude_files storage/logs entry#7
shanerbaner82 merged 2 commits into
NativePHP:mainfrom
tmbenhura:main

Conversation

@tmbenhura

Copy link
Copy Markdown
Contributor

The asterisk causes Robocopy to return an error when preparing the Laravel bundle.
image

The config('nativephp.cleanup_exclude_files') included an asterisk in the storage/logs entry.
'cleanup_exclude_files' => [ 'storage/framework/sessions', 'storage/framework/cache', 'storage/framework/testing', 'storage/logs/*', ],

The patch drops the asterisk to allow exclusions to be processed correctly on Windows. The directory exclusions should still continue to work correctly with rsync on MacOS and *nix.

The asterisk causes Robocopy to return an error when preparing the Laravel bundle
Removed asterisk from cleanup_exclude_files storage/logs entry
@shanerbaner82
shanerbaner82 merged commit 76d3ab5 into NativePHP:main Aug 3, 2026
3 checks passed
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