switch to using the normal pre-commit hook for linux on windows instead of a custom powershell one that didn't work
This commit is contained in:
parent
c06fc176b3
commit
85f7285d12
2 changed files with 1 additions and 6 deletions
|
@ -54,7 +54,7 @@ function Symlink {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create symlink for pre-commit hook
|
# Create symlink for pre-commit hook
|
||||||
New-Item -ItemType SymbolicLink -Path "$gitHooksDir\pre-commit" -Target "$rootDir\scripts\hooks\pre-commit-windows" -Force
|
New-Item -ItemType SymbolicLink -Path "$gitHooksDir\pre-commit" -Target "$rootDir\scripts\hooks\pre-commit" -Force
|
||||||
}
|
}
|
||||||
|
|
||||||
Install-Packwiz
|
Install-Packwiz
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
#!/usr/bin/env/pwsh
|
|
||||||
|
|
||||||
Write-Output "pre-commit: Refreshing packwiz"
|
|
||||||
Set-Location src
|
|
||||||
packwiz refresh
|
|
Reference in a new issue