Skip to content

Commit

Permalink
Throw exception
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 12, 2024
1 parent 7c08e2c commit b94145f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monorepo/DevTools/src/RefactorConfigCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ protected function migrateToYaml(): void
copy(Hyde::path('hyde.yml.bak'), Hyde::path('hyde.yml'));
unlink(Hyde::path('hyde.yml.bak'));

return;
throw $exception;
} finally {
if ($usesGit && file_exists(Hyde::path('hyde.yml.bak'))) {
unlink(Hyde::path('hyde.yml.bak'));
Expand Down

0 comments on commit b94145f

Please sign in to comment.