Skip to content

Commit

Permalink
Exit if configuration file cannot be created
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjmead committed Aug 3, 2024
1 parent 3f3a545 commit 14ce144
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Commands/SiteCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ protected function get_config(): Config
}
} catch (\Exception $e) {
error('Unable to create configuration file');
exit(1);
}

info('Configuration file created. Opening...');
Expand Down

0 comments on commit 14ce144

Please sign in to comment.