autoindexing: Unify require and loadfile
Created by: efritz
Pulled from #36122 by @tjdevries. This PR removes loadfile
from the Lua sandbox and allows for a more unified way to import code. Fixes #34295.
Test plan
Existing unit tests.
Created by: efritz
Pulled from #36122 by @tjdevries. This PR removes loadfile
from the Lua sandbox and allows for a more unified way to import code. Fixes #34295.
Existing unit tests.