This commit is contained in:
Shubham Tiwari 2022-03-23 02:44:07 +05:30
parent 3c38dcfe1f
commit 429adbf862

View File

@ -44,17 +44,17 @@ function checkKey(key: string): void {
}
/**
* isEnable to check the presence of Artifact cache service.
* isEnable to check the presence of Artifact cache service
*
* @returns boolean
* @returns boolean return true if Artifact cache service is enable, otherwise false
*/
export function isEnable(): boolean {
if (process.env['ACTIONS_CACHE_URL']) {
return true;
return true
}
return false;
return false
}
/**