diff options
author | Manti <67705577+mantikafasi@users.noreply.github.com> | 2022-11-16 02:40:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 00:40:46 +0100 |
commit | 84ec839b041a0da2a7a950c47f003d5bebfe4685 (patch) | |
tree | 54ec06d2ecc13ccbc3908194f60b277d24f9d70f /src/webpack/webpack.ts | |
parent | b30508aef8cd19625640ee650b58b557bb3fdd24 (diff) | |
download | Vencord-84ec839b041a0da2a7a950c47f003d5bebfe4685.tar.gz Vencord-84ec839b041a0da2a7a950c47f003d5bebfe4685.tar.bz2 Vencord-84ec839b041a0da2a7a950c47f003d5bebfe4685.zip |
Add ReviewDB Plugin (#187)
Co-authored-by: Ven <vendicated@riseup.net>
Diffstat (limited to 'src/webpack/webpack.ts')
-rw-r--r-- | src/webpack/webpack.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webpack/webpack.ts b/src/webpack/webpack.ts index df32132..1231d9e 100644 --- a/src/webpack/webpack.ts +++ b/src/webpack/webpack.ts @@ -139,11 +139,11 @@ export function findAll(filter: FilterFn, getDefault = true) { /** * Same as {@link find} but in bulk - * @param filterFns Arry of filters. Please note that this array will be modified in place, so if you still + * @param filterFns Array of filters. Please note that this array will be modified in place, so if you still * need it afterwards, pass a copy. * @returns Array of results in the same order as the passed filters */ -export function bulk(...filterFns: FilterFn[]) { +export const findBulk = traceFunction("findBulk", function findBulk(...filterFns: FilterFn[]) { if (!Array.isArray(filterFns)) throw new Error("Invalid filters. Expected function[] got " + typeof filterFns); @@ -216,7 +216,7 @@ export function bulk(...filterFns: FilterFn[]) { } return results; -} +}); /** * Find the id of a module by its code |