Update bench.py

revert bench.py as all the benchmark files use .lua
This commit is contained in:
Baileyeatspizza 2021-11-08 18:04:19 +00:00
parent 6e61878148
commit 7cc9dd000e

View file

@ -810,7 +810,7 @@ def run(args, argsubcb):
for filename in files:
filepath = subdir + os.sep + filename
if filename.endswith(".luau"):
if filename.endswith(".lua"):
if arguments.run_test == None or re.match(arguments.run_test, filename[:-4]):
runTest(subdir, filename, filepath)