chore: update dev dependencies and workflow

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-04-23 14:35:24 +02:00
parent 2e6b2303a4
commit 85d3380195
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
16 changed files with 1769 additions and 7523 deletions

View file

@ -28,10 +28,7 @@ export async function getInputList(name: string, ignoreComma?: boolean): Promise
return items
.split(/\r?\n/)
.filter(x => x)
.reduce<string[]>(
(acc, line) => acc.concat(!ignoreComma ? line.split(',').filter(x => x) : line).map(pat => pat.trim()),
[]
);
.reduce<string[]>((acc, line) => acc.concat(!ignoreComma ? line.split(',').filter(x => x) : line).map(pat => pat.trim()), []);
}
export const asyncForEach = async (array, callback) => {