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

i need to keep my stub file #6

Closed
ajikamaludin opened this issue Apr 4, 2024 · 1 comment
Closed

i need to keep my stub file #6

ajikamaludin opened this issue Apr 4, 2024 · 1 comment

Comments

@ajikamaludin
Copy link

File::move($this->from, $path);

from this line of code im using local stub file for example my-projects/stubs/SampleController.stubs, when generate the original stubs file is moved , consider you to changes this line of code to be

        // Copy file
        File::copy($this->from, $path);

so it can keep my original stub to more reuseable

@milwad-dev
Copy link
Member

Update your dependencies:

https://github.com/binafy/laravel-stub/releases/tag/v1.0.1

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

No branches or pull requests

2 participants