Skip to content

Commit

Permalink
fix: Remove unneccessary debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
nebula-it committed Dec 8, 2024
1 parent 6faf973 commit 693812f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions createManifest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,9 @@ foreach ($package in $packages) {
Invoke-Expression $wingetCmd | Tee-Object -Variable wingetOutput
# First we get the lines that says 'Pull request can be found here:'
# Then split it at Spaces and get the last string, which is URL
Write-Debug "======== Start: Output of wingetCreate ============"
Write-Debug $wingetOutput
Write-Debug "======== End: Output of wingetCreate ============"
$wingetPrURL = (($wingetOutput | Select-String -Pattern 'Pull request can be found here:\s+https:\/\/[\w\-\.\/]+').Matches[0] -split ' ')[-1]

Write-Host "PR URL: $wingetPrURL"
Write-Debug "PR URL: $wingetPrURL"

# If a PR is successfully submitted then update the local manifest
if ($wingetPrURL) {
Expand Down

0 comments on commit 693812f

Please sign in to comment.