mirror of
https://github.com/tiktok/sparo.git
synced 2024-11-14 19:35:12 -05:00
feat: set mininal supported git version to 2.43.0
This commit is contained in:
parent
2c21391cf6
commit
29798a1baa
1 changed files with 2 additions and 2 deletions
|
@ -13,10 +13,10 @@ export class GitVersionCompatibility {
|
|||
|
||||
public static reportGitRequiredVersion(): boolean {
|
||||
const [major, minor, patch] = GitVersionCompatibility.getGitVersion();
|
||||
if (major < 2 || minor < 44) {
|
||||
if (major < 2 || minor < 43) {
|
||||
const terminalService: TerminalService = getFromContainer(TerminalService);
|
||||
terminalService.terminal.writeErrorLine(
|
||||
`It appears your Git version(${major}.${minor}.${patch}) is too old. The minimal supported version is >=2.44.0.\nPlease upgrade to the latest Git version. Many Git optimizations are relatively new and not available in older versions of the software.`
|
||||
`It appears your Git version(${major}.${minor}.${patch}) is too old. The minimal supported version is >=2.43.0.\nPlease upgrade to the latest Git version. Many Git optimizations are relatively new and not available in older versions of the software.`
|
||||
);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue