Skip to content

Commit efe07e2

Browse files
[macos] systeminfo.txt: remove debug leftover (#7592)
1 parent fe2a486 commit efe07e2

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

images/macos/software-report/SoftwareReport.Generator.ps1

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -302,21 +302,11 @@ PARALLELS_DMG_URL environment variable. A system extension is allowed for this v
302302
$miscellaneousEnvNotes.AddNote($notes)
303303
}
304304

305-
#
306-
# Generate systeminfo.txt with information about image (for debug purpose)
307-
#
308-
$dateTime = (Get-Date).ToString("yyyy-MM-dd HH:mm:ss")
309-
$systemInfo = [string]::Join([System.Environment]::NewLine, @(
310-
"Date: ${dateTime}",
311-
"Image name: ${ImageName}"
312-
))
313-
314305
if (-not (Test-Path $OutputDirectory)) { New-Item -Path $OutputDirectory -ItemType Directory | Out-Null }
315306

316307
#
317308
# Write final reports
318309
#
319310
Write-Host $markdownExtended
320-
$systemInfo | Out-File -FilePath "${OutputDirectory}/systeminfo.txt" -Encoding UTF8NoBOM
321311
$softwareReport.ToJson() | Out-File -FilePath "${OutputDirectory}/systeminfo.json" -Encoding UTF8NoBOM
322312
$softwareReport.ToMarkdown() | Out-File -FilePath "${OutputDirectory}/systeminfo.md" -Encoding UTF8NoBOM

0 commit comments

Comments
 (0)