Skip to content

Removed asterisk from cleanup_exclude_files storage/logs entry#7

Open
tmbenhura wants to merge 2 commits into
NativePHP:mainfrom
tmbenhura:main
Open

Removed asterisk from cleanup_exclude_files storage/logs entry#7
tmbenhura wants to merge 2 commits into
NativePHP:mainfrom
tmbenhura:main

Conversation

@tmbenhura

Copy link
Copy Markdown

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
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.

1 participant