mirror of
https://github.com/actions/toolkit.git
synced 2026-08-14 00:00:18 +02:00
review comments
This commit is contained in:
Vendored
+1
-1
@@ -50,7 +50,7 @@ function checkKey(key: string): void {
|
||||
*/
|
||||
|
||||
export function isFeatureAvailable(): boolean {
|
||||
return utils.isFeatureAvailable()
|
||||
return !!process.env['ACTIONS_CACHE_URL']
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
-4
@@ -123,7 +123,3 @@ export function assertDefined<T>(name: string, value?: T): T {
|
||||
|
||||
return value
|
||||
}
|
||||
|
||||
export function isFeatureAvailable(): boolean {
|
||||
return !!process.env['ACTIONS_CACHE_URL']
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user