Skip to content

Commit

Permalink
Handle non-existent load path entries
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Jul 8, 2020
1 parent 56c6137 commit cd507c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/bootsnap/load_path_cache/path_scanner.rb
Expand Up @@ -18,6 +18,7 @@ module PathScanner
class << self
def call(path)
path = File.expand_path(path.to_s).freeze
return [[], []] unless File.directory?(path)

# If the bundle path is a descendent of this path, we do additional
# checks to prevent recursing into the bundle path as we recurse
Expand Down

0 comments on commit cd507c3

Please sign in to comment.