Skip to content

Commit

Permalink
Spread args
Browse files Browse the repository at this point in the history
  • Loading branch information
psparrow committed May 5, 2021
1 parent de0072c commit ee7c24c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bootsnap/load_path_cache/change_observer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ def concat(entries)
super
end

def prepend(entries)
def prepend(*entries)
@lpc_observer.unshift_paths(self, *entries.map(&:to_s))
super
end

def append(entries)
def append(*entries)
@lpc_observer.push_paths(self, *entries.map(&:to_s))
super
end
Expand Down

0 comments on commit ee7c24c

Please sign in to comment.