Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions django_node_assets/finders.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,12 @@ class NodeModulesFinder(BaseFinder):
"node_modules",
]

def find(self, path, all=False):
def find(self, path, find_all=False, **kwargs):
find_all = find_all or kwargs.get("all", False)
matches = []
if self.storage.exists(path):
matched_path = self.storage.path(path)
if not all:
if not find_all:
return matched_path
matches.append(matched_path)
return matches
Expand Down