summaryrefslogtreecommitdiff
path: root/std/fs/expand_glob.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/fs/expand_glob.ts')
-rw-r--r--std/fs/expand_glob.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/std/fs/expand_glob.ts b/std/fs/expand_glob.ts
index c43e09d40..8965773a7 100644
--- a/std/fs/expand_glob.ts
+++ b/std/fs/expand_glob.ts
@@ -136,8 +136,8 @@ export async function* expandGlob(
);
}
if (hasTrailingSep) {
- currentMatches = currentMatches.filter(
- ({ info }): boolean => info.isDirectory()
+ currentMatches = currentMatches.filter(({ info }): boolean =>
+ info.isDirectory()
);
}
if (!includeDirs) {
@@ -238,8 +238,8 @@ export function* expandGlobSync(
);
}
if (hasTrailingSep) {
- currentMatches = currentMatches.filter(
- ({ info }): boolean => info.isDirectory()
+ currentMatches = currentMatches.filter(({ info }): boolean =>
+ info.isDirectory()
);
}
if (!includeDirs) {