mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-16 10:15:57 +08:00
Fix lint issues
This commit is contained in:
parent
cf3dd065b8
commit
a9d266bb7c
5
packages/cache/src/internal/cacheUtils.ts
vendored
5
packages/cache/src/internal/cacheUtils.ts
vendored
@ -71,7 +71,10 @@ export async function unlinkFile(filePath: fs.PathLike): Promise<void> {
|
|||||||
return util.promisify(fs.unlink)(filePath)
|
return util.promisify(fs.unlink)(filePath)
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getVersion(app: string, additionalArgs: string[] = []): Promise<string> {
|
async function getVersion(
|
||||||
|
app: string,
|
||||||
|
additionalArgs: string[] = []
|
||||||
|
): Promise<string> {
|
||||||
let versionOutput = ''
|
let versionOutput = ''
|
||||||
additionalArgs.push('--version')
|
additionalArgs.push('--version')
|
||||||
core.debug(`Checking ${app} ${additionalArgs.join(' ')}`)
|
core.debug(`Checking ${app} ${additionalArgs.join(' ')}`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user