File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Nerdbank.GitVersioning.NuGet/tools Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2222 [string ]$Version
2323)
2424
25- if (! $DependencyBasePath ) { $DependencyBasePath = " $PSScriptRoot \..\build" }
25+ if (-not ( Test-Path variable:global:DependencyBasePath) -or ! $DependencyBasePath ) { $DependencyBasePath = " $PSScriptRoot \..\build" }
2626$null = [Reflection.Assembly ]::LoadFile((Resolve-Path " $DependencyBasePath \Validation.dll" ))
2727$null = [Reflection.Assembly ]::LoadFile((Resolve-Path " $DependencyBasePath \NerdBank.GitVersioning.dll" ))
2828$null = [Reflection.Assembly ]::LoadFile((Resolve-Path " $DependencyBasePath \LibGit2Sharp.dll" ))
Original file line number Diff line number Diff line change 1010 [string ]$ProjectDirectory = " ."
1111)
1212
13- if (! $DependencyBasePath ) { $DependencyBasePath = " $PSScriptRoot \..\build" }
13+ if (-not ( Test-Path variable:global:DependencyBasePath) -or ! $DependencyBasePath ) { $DependencyBasePath = " $PSScriptRoot \..\build" }
1414$null = [Reflection.Assembly ]::LoadFile((Resolve-Path " $DependencyBasePath \Validation.dll" ))
1515$null = [Reflection.Assembly ]::LoadFile((Resolve-Path " $DependencyBasePath \NerdBank.GitVersioning.dll" ))
1616$null = [Reflection.Assembly ]::LoadFile((Resolve-Path " $DependencyBasePath \LibGit2Sharp.dll" ))
You can’t perform that action at this time.
0 commit comments