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

Cleanup exclude files not working #464

Open
jsandfordhughescoop opened this issue Jan 9, 2025 · 0 comments
Open

Cleanup exclude files not working #464

jsandfordhughescoop opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@jsandfordhughescoop
Copy link

jsandfordhughescoop commented Jan 9, 2025

What were you trying to do?

I am building my app for production but the files listed in the cleanup_exclude_files config are not getting removed.

What happened?

The files are not removed when the app is built for production

How to reproduce the bug

Create a new app, make sure there is a laravel.log file in storage/logs. If not create one.
Build the application and install / run it. If on Mac, check in the application support folder and the laravel.log file will still be present.

Package Versions

{
    "installed": [
        {
            "name": "nativephp/electron",
            "direct-dependency": true,
            "homepage": "https://github.com/nativephp/electron",
            "source": "https://github.com/NativePHP/electron/tree/0.9.0",
            "version": "0.9.0",
            "description": "Electron wrapper for the NativePHP framework.",
            "abandoned": false
        },
        {
            "name": "nativephp/laravel",
            "direct-dependency": false,
            "homepage": "https://github.com/nativephp/laravel",
            "source": "https://github.com/NativePHP/laravel/tree/0.7.0",
            "version": "0.7.0",
            "description": "Laravel wrapper for the NativePHP framework.",
            "abandoned": false
        },
        {
            "name": "nativephp/php-bin",
            "direct-dependency": false,
            "homepage": "https://nativephp.com",
            "source": "https://github.com/NativePHP/php-bin/tree/0.5.6",
            "version": "0.5.6",
            "description": "PHP binaries used by the NativePHP framework",
            "abandoned": false
        }
    ]
}

PHP Version

8.4

Laravel Version

11

Node Version

23.5

Which operating systems have you seen this occur on?

No response

OS version

Macos 15.1

Notes

I am using the log file as an example as its in the cleanup array by default however my specific issue is that I have an auth-token.txt file that gets generated when a user logs in and it stores the auth token. This file is not getting removed when I build the application and on investigation I have noticed none of the files specified are getting removed.

@jsandfordhughescoop jsandfordhughescoop added the bug Something isn't working label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant