review comments

This commit is contained in:
Shubham Tiwari
2022-03-25 00:02:17 +05:30
parent 71b35793b1
commit 2487627b27
7 changed files with 20 additions and 22 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ function checkKey(key: string): void {
*/
export function isFeatureAvailable(): boolean {
return utils.isFeatureAvailable()
return !!process.env['ACTIONS_CACHE_URL']
}
/**
-4
View File
@@ -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']
}