Skip to content

Commit ec6809c

Browse files
committed
Attempt to fix powershell doc gen stuff again
1 parent 985b3c5 commit ec6809c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/generate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ try {
1717
mkdir -p $buildRoot -ErrorAction Ignore | Out-Null
1818

1919
if (-not (git worktree list --porcelain | Select-String 'gh-pages')) {
20-
exec git fetch --quiet origin gh-pages:gh-pages
20+
exec git fetch --quiet -u origin gh-pages:gh-pages
2121
exec git worktree add $targetDir gh-pages
2222
}
2323

src/common.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function exec([string]$_cmd) {
22
write-host -ForegroundColor DarkGray ">>> $_cmd $args"
33
$ErrorActionPreference = 'Continue'
4-
& $_cmd @args 2>&1
4+
& $_cmd @args
55
$ErrorActionPreference = 'Stop'
66
if ($LASTEXITCODE -ne 0) {
77
write-error "Failed with exit code $LASTEXITCODE"

0 commit comments

Comments
 (0)