|
@@ 68-74 (lines=7) @@
|
| 65 |
|
$this->checkPivotRelations($nodes, $morphTables, 'morph'); |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
if ($this->checkedErrors > 0) { |
| 69 |
|
$this->line(''); |
| 70 |
|
if ($this->option('check-only')) { |
| 71 |
|
$this->info('Checking only, we have found ' . $this->checkedErrors . ' errors.'); |
| 72 |
|
} |
| 73 |
|
$this->printErrors(); |
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
$proceed = (! $this->option('check-only') && $this->checkedErrors == 0) || $this->option('skip-check'); |
| 77 |
|
if (! $this->option('check-only') && $this->checkedErrors > 0) { |
|
@@ 77-80 (lines=4) @@
|
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
$proceed = (! $this->option('check-only') && $this->checkedErrors == 0) || $this->option('skip-check'); |
| 77 |
|
if (! $this->option('check-only') && $this->checkedErrors > 0) { |
| 78 |
|
$this->line(''); |
| 79 |
|
$proceed = $this->confirm("We have found " . $this->checkedErrors . " errors. Are you sure you want to continue?"); |
| 80 |
|
} |
| 81 |
|
if ($proceed) { |
| 82 |
|
$this->buildResources($nodes); |
| 83 |
|
|