mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 05:04:48 +00:00
Use dprint for internal formatting (#6682)
This commit is contained in:
parent
9eca71caa1
commit
cde4dbb351
378 changed files with 3116 additions and 3121 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue