my linter is: damn linter
ci/woodpecker/push/woodpecker Pipeline was successful Details

master
Drake 1 year ago
parent 0c93000880
commit 139e00772a

@ -1,4 +1,8 @@
export default async function asyncForEach(array: any[], callback: Function) {
// deno-lint-ignore-file no-explicit-any
export default async function asyncForEach(
array: any[],
callback: (val: any, index: number, array: any[]) => Promise<void>,
) {
for (let index = 0; index < array.length; index++) {
await callback(array[index], index, array);
}

@ -1,6 +1,5 @@
//FIXME: we need to test single-chapter works too (because those seem to be really inconsistent for some reason?)
import AO3 from "../mod.ts";
import { Work } from "../mod.ts";
import { assert } from "https://deno.land/std@0.167.0/testing/asserts.ts";
export default async function test(ao3: AO3) {

Loading…
Cancel
Save