mirror of
https://github.com/actions/toolkit.git
synced 2026-08-24 00:00:19 +02:00
Update packages/cache/src/internal/cacheUtils.ts
Co-authored-by: Brian Cristante <[email protected]>
This commit is contained in:
co-authored by
Brian Cristante
parent
4cb65fcdd9
commit
71b35793b1
+1
-5
@@ -125,9 +125,5 @@ export function assertDefined<T>(name: string, value?: T): T {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function isFeatureAvailable(): boolean {
|
export function isFeatureAvailable(): boolean {
|
||||||
if (process.env['ACTIONS_CACHE_URL']) {
|
return !!process.env['ACTIONS_CACHE_URL']
|
||||||
return true
|
|
||||||
}
|
|
||||||
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user