fix
This commit is contained in:
parent
cd7041c2e1
commit
32deb35fec
@ -12,7 +12,7 @@ import fs from 'fs-extra';
|
|||||||
export class FileMapper {
|
export class FileMapper {
|
||||||
public static async map_all_files (
|
public static async map_all_files (
|
||||||
folder: string,
|
folder: string,
|
||||||
mutator: Function,
|
mutator: (data: string, file: string, args: Array<unknown>) => string|null,
|
||||||
args: Array<unknown> = []
|
args: Array<unknown> = []
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
const files = await fs.readdir (folder);
|
const files = await fs.readdir (folder);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user