Skip to content

Commit 7d415b2

Browse files
committed
fix: Suppress pipeline output when sourcing scripts
Fixes #46 Co-authored-by: Gordon Beeming <me@gordonbeeming.com>
1 parent baa1b14 commit 7d415b2

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
33
<!-- Central version for all projects - use date format YYYY.MM.DD or YYYY.MM.DD.N for same-day updates -->
4-
<CopilotHereVersion>2025.12.29.26</CopilotHereVersion>
4+
<CopilotHereVersion>2025.12.29.28</CopilotHereVersion>
55
</PropertyGroup>
66
</Project>

app/Infrastructure/BuildInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ public static class BuildInfo
1010
/// The build date in yyyy.MM.dd or yyyy.MM.dd.N format.
1111
/// This is replaced during build via MSBuild property.
1212
/// </summary>
13-
public const string BuildDate = "2025.12.29.26";
13+
public const string BuildDate = "2025.12.29.28";
1414
}

copilot_here.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# copilot_here PowerShell functions
2-
# Version: 2025.12.29.26
2+
# Version: 2025.12.29.28
33
# Repository: https://github.com/GordonBeeming/copilot_here
44

55
# Set console output encoding to UTF-8 for Unicode character support
@@ -23,7 +23,7 @@ $script:DefaultCopilotHereBin = Join-Path $script:DefaultCopilotHereBinDir $scri
2323

2424
$script:CopilotHereBin = if ($env:COPILOT_HERE_BIN) { $env:COPILOT_HERE_BIN } else { $script:DefaultCopilotHereBin }
2525
$script:CopilotHereReleaseUrl = "https://github.com/GordonBeeming/copilot_here/releases/download/cli-latest"
26-
$script:CopilotHereVersion = "2025.12.29.26"
26+
$script:CopilotHereVersion = "2025.12.29.28"
2727

2828
# Debug logging function
2929
function Write-CopilotDebug {
@@ -213,10 +213,10 @@ function Update-CopilotHere {
213213
}
214214

215215
Write-Host "[OK] Update complete! Reloading PowerShell functions..."
216-
. $script:CopilotHereScriptPath
216+
$null = . $script:CopilotHereScriptPath
217217
} catch {
218218
Write-Host "[OK] Update complete! Reloading PowerShell functions..."
219-
Invoke-Expression $scriptContent
219+
$null = Invoke-Expression $scriptContent
220220
Write-Host ""
221221
Write-Host "[WARNING] Could not write updated PowerShell script to: $script:CopilotHereScriptPath" -ForegroundColor Yellow
222222
Write-Host " It may keep prompting to update until the file can be written." -ForegroundColor Yellow

copilot_here.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# copilot_here shell functions
2-
# Version: 2025.12.29.26
2+
# Version: 2025.12.29.28
33
# Repository: https://github.com/GordonBeeming/copilot_here
44

55
# Configuration
66
COPILOT_HERE_BIN="${COPILOT_HERE_BIN:-$HOME/.local/bin/copilot_here}"
77
COPILOT_HERE_RELEASE_URL="https://github.com/GordonBeeming/copilot_here/releases/download/cli-latest"
8-
COPILOT_HERE_VERSION="2025.12.29.26"
8+
COPILOT_HERE_VERSION="2025.12.29.28"
99

1010
# Debug logging function
1111
__copilot_debug() {

install.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,12 @@ Invoke-Expression (Get-Content $scriptPath -Raw)
118118
# Run update to download binary and latest script
119119
Write-Host ""
120120
Write-Host "📦 Downloading binary and updating..." -ForegroundColor Cyan
121-
Update-CopilotHere
121+
$null = Update-CopilotHere
122122

123123
# Run install-shells to set up shell integration
124124
Write-Host ""
125125
Write-Host "🔧 Setting up shell integration..." -ForegroundColor Cyan
126-
& (Get-Command copilot_here).ScriptBlock --install-shells
126+
copilot_here --install-shells
127127

128128
Write-Host ""
129129
Write-Host "✅ Installation complete!" -ForegroundColor Green

0 commit comments

Comments
 (0)