Skip to content

Commit 461be46

Browse files
committed
Add find_all to NodeModulesFinder find
The `all` parameter is deprecated and replaced by `find_all` as of django 5.2 See also django/django@0fdcf10 django/django@8719a61
1 parent d3aaee8 commit 461be46

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

django_node_assets/finders.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ class NodeModulesFinder(BaseFinder):
7575
"node_modules",
7676
]
7777

78-
def find(self, path, all=False):
78+
def find(self, path, all=False, find_all=False):
79+
all = all or find_all
7980
matches = []
8081
if self.storage.exists(path):
8182
matched_path = self.storage.path(path)

0 commit comments

Comments
 (0)