You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when we get to the PropertyGroup that follows the Exec, the Condition is met because $(WhereExitCode) is 0 (from a previous target, presumably), but $(GitExecutable) is empty, so an error is thrown when GetDirectoryName is called:
When we define the LocalGitPath, the GitPath is set in MSBuild.Bower.targets.
Then, GitPath is not empty, so we skip the Exec that follows:
However, when we get to the PropertyGroup that follows the Exec, the Condition is met because$(WhereExitCode) is 0 (from a previous target, presumably), but $ (GitExecutable) is empty, so an error is thrown when GetDirectoryName is called:
I propose adding another condition; the below seems to work for me:
Of course, WhereExitCode could also be renamed to something unique.
The text was updated successfully, but these errors were encountered: