Skip to content

Commit

Permalink
prevent route:cache on build (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
joedixon authored May 31, 2023
1 parent 88e0c5c commit 7ddb67d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/BuildProcess/ExecuteBuildCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class ExecuteBuildCommands
protected $unsupportedCommands = [
'clear-compiled',
'optimize:clear',
'route:cache',
];

/**
Expand Down
1 change: 1 addition & 0 deletions tests/ExecuteBuildCommandsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public function test_unsupported_commands_are_removed()
'a optimize:clear',
'php artisan optimize',
'php artisan optimize:clear',
'php artisan route:cache',
],
],
],
Expand Down

0 comments on commit 7ddb67d

Please sign in to comment.