summaryrefslogtreecommitdiff
path: root/fs/glob.ts
diff options
context:
space:
mode:
Diffstat (limited to 'fs/glob.ts')
-rw-r--r--fs/glob.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/glob.ts b/fs/glob.ts
index d9e6560c1..86d83b4f8 100644
--- a/fs/glob.ts
+++ b/fs/glob.ts
@@ -112,7 +112,7 @@ export function joinGlobs(
if (globs.length === 0) return ".";
let joined: string | undefined;
for (const glob of globs) {
- let path = glob;
+ const path = glob;
if (path.length > 0) {
if (!joined) joined = path;
else joined += `${SEP}${path}`;