changed function name

This commit is contained in:
Shubham Tiwari
2022-03-23 16:46:49 +05:30
parent 05f407f4ff
commit 8fe3522c0b
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -44,12 +44,12 @@ function checkKey(key: string): void {
}
/**
* isEnable to check the presence of Artifact cache service
* isAvailable to check the presence of Artifact cache service
*
* @returns boolean return true if Artifact cache service is enable, otherwise false
* @returns boolean return true if Artifact cache service is available, otherwise false
*/
export function isEnable(): boolean {
export function isAvailable(): boolean {
if (process.env['ACTIONS_CACHE_URL']) {
return true
}