mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	Improve warning text when posh-git is missing.
This commit is contained in:
		
							
								
								
									
										2
									
								
								vendor/profile.ps1
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/profile.ps1
									
									
									
									
										vendored
									
									
								
							| @@ -10,7 +10,7 @@ try { | ||||
|     Import-Module -Name "posh-git" -ErrorAction Stop >$null | ||||
|     $gitStatus = $true | ||||
| } catch { | ||||
|     Write-Warning "Missing git support" | ||||
|     Write-Warning "Missing git support, install posh-git with 'Install-Module posh-git' and restart cmder." | ||||
|     $gitStatus = $false | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user