1
0
Fork 0
mirror of https://github.com/actions/upload-artifact synced 2024-12-21 22:12:46 +00:00
This commit is contained in:
Josh Gross 2024-08-15 20:37:17 -04:00
parent fa37431cef
commit f626d210e8
No known key found for this signature in database

View file

@ -89,13 +89,10 @@ export interface SearchOptions {
export async function findFilesToUpload( export async function findFilesToUpload(
searchPath: string, searchPath: string,
searchOptions?: SearchOptions, searchOptions?: SearchOptions
): Promise<SearchResult> { ): Promise<SearchResult> {
const searchResults: string[] = [] const searchResults: string[] = []
const globber = await glob.create( const globber = await glob.create(searchPath, getDefaultGlobOptions())
searchPath,
getDefaultGlobOptions()
)
const rawSearchResults: string[] = await globber.glob() const rawSearchResults: string[] = await globber.glob()
/* /*