Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BernieWhite committed Dec 14, 2024
1 parent 999ae84 commit ad463ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bootstrap/bootstrap.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ else {
}

# Set Source
if ([String]::IsNullOrEmpty($Source)) {
$Source = Join-Path -Path $Path -ChildPath '.ps-rule/';
if ([String]::IsNullOrWhiteSpace($Source)) {
$Source = [System.IO.Path]::GetFullPath([System.IO.Path]::Combine($Path, '.ps-rule/'))
}
else {
$Source = Join-Path -Path $Path -ChildPath $Source;
elseif (![System.IO.Path]::IsPathFullyQualified($Source)) {
$Source = [System.IO.Path]::GetFullPath([System.IO.Path]::Combine($Path, $Source))
}

# Set conventions
Expand Down

0 comments on commit ad463ce

Please sign in to comment.