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

php artisan infyom:rollback Model api --skip=dump-autoload still run dump-autoload #1080

Open
khaukheng opened this issue May 20, 2023 · 0 comments

Comments

@khaukheng
Copy link

excerpt of composer.json
"laravel/framework": "^10.8"
"infyomlabs/laravel-generator": "^6.0"

Running
php artisan infyom:rollback [Model] api --skip=dump-autoload doesn't skip dump-autoload.

class RollbackGeneratorCommand extends BaseCommand
{
    public function handle()
    {
        ...
        if (!$this->isSkip('dump-autoload')) { //<----------------------------------Missing--------------------------------
            $this->info('Generating autoload files');
            $this->composer->dumpOptimized();
        }//<----------------------------------Missing--------------------------------
        ...
    }

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

1 participant