mirror of
https://code.forgejo.org/actions/upload-artifact.git
synced 2024-12-23 04:06:00 +01:00
linting
This commit is contained in:
parent
fa37431cef
commit
f626d210e8
1 changed files with 3 additions and 6 deletions
|
@ -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()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue