Skip to content

Commit fba1bcc

Browse files
Disable dotnet-format hook. Fixes #29768 (#30145)
1 parent fd63faa commit fba1bcc

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

.githooks/pre-commit

Lines changed: 0 additions & 15 deletions
This file was deleted.

build.ps1

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,6 @@ if (-not $foundJdk -and $RunBuild -and ($All -or $BuildJava) -and -not $NoBuildJ
356356
Write-Error "Could not find the JDK. Either run $PSScriptRoot\eng\scripts\InstallJdk.ps1 to install for this repo, or install the JDK globally on your machine (see $PSScriptRoot\docs\BuildFromSource.md for details)."
357357
}
358358

359-
# We need to change default git hooks directory as .git folder is not tracked. And by default hooks are stored in .git/hooks folder.
360-
# So we are setting git hooks default directory to .githooks, so that we can track and version the git hooks.
361-
& git config core.hooksPath .githooks
362-
363359
# Initialize global variables need to be set before the import of Arcade is imported
364360
$restore = $RunRestore
365361

0 commit comments

Comments
 (0)