1
0
Fork 0
pull/1028/head
Shubham Tiwari 2022-03-23 02:44:07 +05:30
parent 3c38dcfe1f
commit 429adbf862
1 changed files with 6 additions and 6 deletions

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;
export function isEnable(): boolean {
if (process.env['ACTIONS_CACHE_URL']) {
return true
}
return false;
return false
}
/**