Skip to content

Commit 42cdc65

Browse files
committed
(fix) Stop True Outputting to Shell
1 parent 37dadb4 commit 42cdc65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Create-ChocoLicensePkg.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Write-Warning "If there is is a note about invalid license above, you're going t
5353
# Get license expiration date and node count
5454
[xml]$licenseXml = Get-Content -Path $LicensePath
5555
$licenseExpiration = [datetimeoffset]::Parse("$($licenseXml.SelectSingleNode('/license').expiration) +0")
56-
$licenseXml.license.name -match "(?<=\[).*(?=\])"
56+
$null = $licenseXml.license.name -match "(?<=\[).*(?=\])"
5757
$licenseNodeCount = $Matches.Values -replace '\[]',''
5858

5959
if ($licenseExpiration -lt [datetimeoffset]::UtcNow) {

0 commit comments

Comments
 (0)