Skip to content

Commit

Permalink
chore: fallback null on cache directory to use default rector cache d…
Browse files Browse the repository at this point in the history
…irectory
  • Loading branch information
samsonasik authored Jun 26, 2024
1 parent f7860e1 commit 86480f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
->withParallel(120, 8, 10)
->withCache(
// Github action cache or local
is_dir('/tmp') ? '/tmp/rector' : sys_get_temp_dir() . '/rector',
is_dir('/tmp') ? '/tmp/rector' : null,
FileCacheStorage::class
)
// paths to refactor; solid alternative to CLI arguments
Expand Down

0 comments on commit 86480f4

Please sign in to comment.