Use dprint for internal formatting (#6682)

This commit is contained in:
David Sherret 2020-07-14 15:24:17 -04:00 committed by GitHub
parent 9eca71caa1
commit cde4dbb351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
378 changed files with 3116 additions and 3121 deletions

View file

@ -49,7 +49,7 @@ Deno.test({
let calledBack = false;
const fileFromCallback: Dirent | null = await new Dir(
testDir
testDir,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
).read((err: any, res: Dirent) => {
assert(res === null);
@ -83,10 +83,11 @@ Deno.test({
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(err: any, secondResult: Dirent) => {
assert(
secondResult.name === "bar.txt" || secondResult.name === "foo.txt"
secondResult.name === "bar.txt" ||
secondResult.name === "foo.txt",
);
secondCallback = true;
}
},
);
const thirdRead: Dirent | null = await dir.read();
const fourthRead: Dirent | null = await dir.read();