Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix #12076] Explicitly require fileutils in RuboCop::Server::Cache
The "fileutils.rb" item is dynamically added to the `$LOADED_FEATURES` due to the autoloading when calling the `RuboCop::Server::Cache.dir`. Explicit require is added to achieve idempotency when initializing the `RuboCop::ResultCache.rubocop_required_features`. This change resolves the issue where the top level cache folder was named differently during two consecutive runs of rubocop.
- Loading branch information