Maybe fix PowerShell script not running in CI

fixes c5f6dcd4e, reverts 68c160b96
This commit is contained in:
YoshiRulz 2024-06-10 20:56:07 +10:00
parent 823ce4f783
commit a8b0e74185
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 2 deletions

View File

@ -17,8 +17,7 @@
<Analyzer Include="$(MSBuildProjectDirectory)/../../References/BizHawk.SrcGen.VersionInfo.dll" />
</ItemGroup>
<Target Name="InstallGitHooks" AfterTargets="PreBuildEvent">
<Exec Command="$(MSBuildProjectDirectory)/../../Dist/install_git_hooks.ps1"
Condition=" '$(ContinuousIntegrationBuild)' != 'true' "
<Exec Command="pwsh $(MSBuildProjectDirectory)/../../Dist/install_git_hooks.ps1"
IgnoreExitCode="true" /> <!-- i.e. may fail... though it was actually using the exit code properly, but oh well -->
</Target>
</Project>