Remove line that only writes "C:" to console output
This commit is contained in:
parent
38f8f5b548
commit
be47c19b43
1 changed files with 0 additions and 1 deletions
1
scripts/obtain/dotnet-install.ps1
vendored
1
scripts/obtain/dotnet-install.ps1
vendored
|
@ -470,7 +470,6 @@ if ($IsSdkInstalled) {
|
||||||
New-Item -ItemType Directory -Force -Path $InstallRoot | Out-Null
|
New-Item -ItemType Directory -Force -Path $InstallRoot | Out-Null
|
||||||
|
|
||||||
$installDrive = $((Get-Item $InstallRoot).PSDrive.Name);
|
$installDrive = $((Get-Item $InstallRoot).PSDrive.Name);
|
||||||
Write-Host "${installDrive}:";
|
|
||||||
$free = Get-CimInstance -Class win32_logicaldisk | where Deviceid -eq "${installDrive}:"
|
$free = Get-CimInstance -Class win32_logicaldisk | where Deviceid -eq "${installDrive}:"
|
||||||
if ($free.Freespace / 1MB -le 100 ) {
|
if ($free.Freespace / 1MB -le 100 ) {
|
||||||
Say "There is not enough disk space on drive ${installDrive}:"
|
Say "There is not enough disk space on drive ${installDrive}:"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue