added test case
This commit is contained in:
+8
@@ -123,3 +123,11 @@ export function assertDefined<T>(name: string, value?: T): T {
|
||||
|
||||
return value
|
||||
}
|
||||
|
||||
export function isFeatureAvailable(): boolean {
|
||||
if (process.env["ACTIONS_CACHE_URL"]) {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
Reference in New Issue
Block a user