Skip to content

Commit

Permalink
Fix ignore_directories not taking effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo98 committed Oct 27, 2023
1 parent c4fb919 commit 4402a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bootsnap/load_path_cache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def setup(cache_path:, development_mode:, ignore_directories:, readonly: false)

@loaded_features_index = LoadedFeaturesIndex.new

@load_path_cache = Cache.new(store, $LOAD_PATH, development_mode: development_mode)
PathScanner.ignored_directories = ignore_directories if ignore_directories
@load_path_cache = Cache.new(store, $LOAD_PATH, development_mode: development_mode)
@enabled = true
require_relative("load_path_cache/core_ext/kernel_require")
require_relative("load_path_cache/core_ext/loaded_features")
Expand Down

0 comments on commit 4402a19

Please sign in to comment.