Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and actions-user committed Feb 23, 2022
1 parent 1d71996 commit de17560
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Http/Controllers/ScriptController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ class ScriptController
{
public function __invoke(Request $request)
{
if (!isset(Ignition::scripts()[$request->script])) {
if (! isset(Ignition::scripts()[$request->script])) {
abort(404, 'Script not found');
}

return response(
file_get_contents(
Ignition::scripts()[$request->script]
Expand Down

0 comments on commit de17560

Please sign in to comment.