mirror of
https://github.com/ModOrganizer2/build-with-mob-action.git
synced 2026-07-27 14:08:35 -07:00
Only switch USVFS branch if USVFS is present.
This commit is contained in:
@@ -55,7 +55,9 @@ mob -l 4 -d . build `
|
||||
@Dependencies
|
||||
|
||||
# handle USVFS (not in modorganizer_super)
|
||||
Switch-Branch -Folder (Get-Item "build\usvfs")
|
||||
if (Test-Path "build\usvfs") {
|
||||
Switch-Branch -Folder (Get-Item "build\usvfs")
|
||||
}
|
||||
|
||||
Get-ChildItem "build/modorganizer_super" -Directory -Exclude ".git" | ForEach-Object {
|
||||
Switch-Branch -Folder $_
|
||||
|
||||
Reference in New Issue
Block a user