mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 21:15:24 +00:00
Detect if using Git or not
This commit is contained in:
parent
b1c80c1877
commit
ca2da44266
@ -110,6 +110,9 @@ try {
|
||||
|
||||
}
|
||||
|
||||
|
||||
$isGit = Test-Path .git
|
||||
if ($isGit) {
|
||||
if (-not $nolfsprune) {
|
||||
if ($dryrun) {
|
||||
Write-Output "Would have pruned LFS files"
|
||||
@ -119,6 +122,7 @@ try {
|
||||
git lfs prune
|
||||
}
|
||||
}
|
||||
}
|
||||
Write-Output "-- Cleanup finished OK --"
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user