Skip to content

Commit

Permalink
Ignore external.html_attributes for upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
shalvah committed May 27, 2024
1 parent eb179c6 commit f56a480
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Commands/GenerateDocumentation.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ protected function upgradeConfigFileIfNeeded(): void
)
->dontTouch(
'routes', 'example_languages', 'database_connections_to_transact', 'strategies', 'laravel.middleware',
'postman.overrides', 'openapi.overrides', 'groups', 'examples.models_source'
'postman.overrides', 'openapi.overrides', 'groups', 'examples.models_source', 'external.html_attributes'
);
$changes = $upgrader->dryRun();
if (!empty($changes)) {
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function handle(): void

$upgrader = Upgrader::ofConfigFile("config/$this->configName.php", __DIR__ . '/../../config/scribe.php')
->dontTouch('routes', 'laravel.middleware', 'postman.overrides', 'openapi.overrides',
'example_languages', 'database_connections_to_transact', 'strategies', 'examples.models_source')
'example_languages', 'database_connections_to_transact', 'strategies', 'examples.models_source', 'external.html_attributes')
->move('default_group', 'groups.default')
->move('faker_seed', 'examples.faker_seed');

Expand Down

0 comments on commit f56a480

Please sign in to comment.