Check global scripts for Lua errors.

This commit is contained in:
Matthias Mailänder
2020-08-23 17:21:16 +02:00
committed by Paul Chote
parent ae8c8e781f
commit b56ddc1a08
2 changed files with 5 additions and 0 deletions

View File

@@ -149,6 +149,10 @@ function Check-Scripts-Command
{
luac -p $script
}
foreach ($script in ls "mods/*/bits/scripts/*.lua")
{
luac -p $script
}
Write-Host "Check completed!" -ForegroundColor Green
}
else