Fix filter arg in byRegex

This commit is contained in:
Zerthox 2022-08-12 19:24:33 +02:00
parent 5285c950d0
commit 7ce4708735
1 changed files with 1 additions and 1 deletions

View File

@ -610,7 +610,7 @@ BdApi.Webpack = {
* @param {function} filter Additional filter
* @returns {function} A filter that checks for a regex match
*/
byRegex(regex) {return Filters.byRegex(regex);},
byRegex(regex, filter) {return Filters.byRegex(regex, filter);},
/**
* Generates a function that filters by strings.