From c9ccba0a57276bb32c4d3caf554d75dea698db1d Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Sat, 28 Sep 2019 11:16:05 +0100 Subject: [PATCH] Default filepath to true in expandGlob() --- fs/glob.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/glob.ts b/fs/glob.ts index 9e358f70c7f54..e4e549eade5d4 100644 --- a/fs/glob.ts +++ b/fs/glob.ts @@ -100,7 +100,7 @@ export async function* expandGlob( extended = false, globstar = false, strict = false, - filepath = false, + filepath = true, flags = "" }: ExpandGlobOptions = {} ): AsyncIterableIterator { @@ -124,7 +124,7 @@ export function* expandGlobSync( extended = false, globstar = false, strict = false, - filepath = false, + filepath = true, flags = "" }: ExpandGlobOptions = {} ): IterableIterator {