Skip to content

Cache is cleared twice #9787

Description

@simonschaufi

Bug Report

Subject Details
Rector version dev-main

When rector is run with the --clear-cache option, the cache is cleared 2x.

The first time here https://github.com/rectorphp/rector-src/blob/b163af7942a0e7ba09a75238362eca373a915194/src/Console/Command/ProcessCommand.php#L209 and the second time https://github.com/rectorphp/rector-src/blob/b163af7942a0e7ba09a75238362eca373a915194/src/FileSystem/FilesFinder.php#L115

I guess one clearing of cache should be enough

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions