Skip to content

Generator Builder Error by Browser #1113

Description

@ricardocosta43

In the file vendor/infyomlabs/laravel-generator/src/Commands/BaseCommand.php

This line needs to be corrected.

if (isset($jsonData['migrate']) && $jsonData['migrate'] == false) {
$this->config->options['skip'][] = 'migration';
}

Maybe this
$currentSkip = $this->option('skip') ?? '';
$skips = empty($currentSkip) ? [] : explode(',', $currentSkip);
$skips[] = 'migration';
$this->input->setOption('skip', implode(',', array_unique($skips)));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions