Skip to content

Commit 86480f4

Browse files
authored
chore: fallback null on cache directory to use default rector cache directory
1 parent f7860e1 commit 86480f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rector.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
->withParallel(120, 8, 10)
7373
->withCache(
7474
// Github action cache or local
75-
is_dir('/tmp') ? '/tmp/rector' : sys_get_temp_dir() . '/rector',
75+
is_dir('/tmp') ? '/tmp/rector' : null,
7676
FileCacheStorage::class
7777
)
7878
// paths to refactor; solid alternative to CLI arguments

0 commit comments

Comments
 (0)