Skip to content

Commit 5404c13

Browse files
authored
Merge pull request #456 from Bo98/ignore_directories
Fix ignore_directories not taking effect
2 parents c4fb919 + 4402a19 commit 5404c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bootsnap/load_path_cache.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ def setup(cache_path:, development_mode:, ignore_directories:, readonly: false)
3838

3939
@loaded_features_index = LoadedFeaturesIndex.new
4040

41-
@load_path_cache = Cache.new(store, $LOAD_PATH, development_mode: development_mode)
4241
PathScanner.ignored_directories = ignore_directories if ignore_directories
42+
@load_path_cache = Cache.new(store, $LOAD_PATH, development_mode: development_mode)
4343
@enabled = true
4444
require_relative("load_path_cache/core_ext/kernel_require")
4545
require_relative("load_path_cache/core_ext/loaded_features")

0 commit comments

Comments
 (0)