Skip to content

Commit

Permalink
Fix (generate): Fix unset variable when using superproject directory
Browse files Browse the repository at this point in the history
  • Loading branch information
joeltimothyoh committed May 7, 2024
1 parent e26201e commit dccfa04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/ci/Invoke-Generate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ try {
}else {
$private:superProjectDir = git rev-parse --show-superproject-working-tree
if ($private:superProjectDir) {
"Using superproject path '$private:ProjectDir'" | Write-Verbose
$private:ProjectDir = $private:superProjectDir
"Using superproject path '$private:ProjectDir'" | Write-Verbose
}else {
$private:ProjectDir = git rev-parse --show-toplevel
"Superproject does not exist. Using project path '$private:ProjectDir'" | Write-Verbose
Expand Down

0 comments on commit dccfa04

Please sign in to comment.