Update search.ts

This commit is contained in:
Pepe 2024-04-29 14:39:25 +10:00 committed by GitHub
parent f791f1aea4
commit ce7252b666
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 3 deletions

View File

@ -23,8 +23,8 @@ export function getGlobOptions(
followSymbolicLinks?: boolean followSymbolicLinks?: boolean
): glob.GlobOptions { ): glob.GlobOptions {
return { return {
followSymbolicLinks, ...getDefaultGlobOptions(),
...getDefaultGlobOptions() followSymbolicLinks
} }
} }
@ -97,7 +97,6 @@ export async function findFilesToUpload(
globOptions || getDefaultGlobOptions() globOptions || getDefaultGlobOptions()
) )
const rawSearchResults: string[] = await globber.glob() const rawSearchResults: string[] = await globber.glob()
console.log(rawSearchResults)
/* /*
Files are saved with case insensitivity. Uploading both a.txt and A.txt will files to be overwritten Files are saved with case insensitivity. Uploading both a.txt and A.txt will files to be overwritten