File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ if (-not $PSBoundParameters.ContainsKey("GitDir")) {
3535}
3636
3737if ([string ]::IsNullOrWhiteSpace($GitDir )) {
38- $home = [Environment ]::GetFolderPath(" UserProfile" )
39- $GitDir = (Join-Path $home " clawdbot" )
38+ $userHome = [Environment ]::GetFolderPath(" UserProfile" )
39+ $GitDir = (Join-Path $userHome " clawdbot" )
4040}
4141
4242# Check for Node.js
@@ -244,8 +244,8 @@ function Get-LegacyRepoDir {
244244 if (-not [string ]::IsNullOrWhiteSpace($env: CLAWDBOT_GIT_DIR )) {
245245 return $env: CLAWDBOT_GIT_DIR
246246 }
247- $home = [Environment ]::GetFolderPath(" UserProfile" )
248- return (Join-Path $home " clawdbot" )
247+ $userHome = [Environment ]::GetFolderPath(" UserProfile" )
248+ return (Join-Path $userHome " clawdbot" )
249249}
250250
251251function Remove-LegacySubmodule {
You can’t perform that action at this time.
0 commit comments