Fetch blackfire latest versions

This commit is contained in:
Shivam Mathur
2020-05-07 17:14:15 +05:30
parent 8123132b99
commit 5c2618165a
11 changed files with 42 additions and 96 deletions

View File

@ -255,28 +255,3 @@ export async function suppressOutput(os_version: string): Promise<string> {
);
}
}
/**
* Function to get Blackfire version
*
* @param blackfire_version
*/
export async function getBlackfireVersion(
blackfire_version: null | undefined | string
): Promise<string> {
switch (blackfire_version) {
case null:
case undefined:
case '':
return '1.31.0';
default:
return blackfire_version;
}
}
/**
* Function to get Blackfire Agent version
*/
export async function getBlackfireAgentVersion(): Promise<string> {
return '1.32.0';
}