Skip to content

Commit

Permalink
Merge pull request #456 from Bo98/ignore_directories
Browse files Browse the repository at this point in the history
Fix ignore_directories not taking effect
  • Loading branch information
casperisfine authored Oct 30, 2023
2 parents c4fb919 + 4402a19 commit 5404c13
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 5404c13

Please sign in to comment.