Update packages/cache/src/internal/cacheUtils.ts

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
This commit is contained in:
Shubham Tiwari 2022-03-24 17:17:35 +05:30 committed by GitHub
parent 4cb65fcdd9
commit 71b35793b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
} }