1
Fork 0
mirror of https://gitea.com/actions/upload-artifact.git synced 2024-11-26 10:35:58 +01:00

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

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