I tried to run it both from Windows and from Docker for Windows
stylua.exe --line-endings Windows --check .
stylua.exe --line-endings Unix --check .
The result is the same, it gives errors in all files. Example of the first two files
Diff in ./cloud_test_tasks/runTests.luau:
1 |-require(game.ReplicatedStorage.Shared.LuTestRoblox.LuTestRunner)
1 |+require(game.ReplicatedStorage.Shared.LuTestRoblox.LuTestRunner)
Diff in ./place_battle/replicated_storage/tests/test_workspace.luau:
1 |-local tests = {}
2 |-local Workspace = game:GetService("Workspace")
3 |-
4 |-function tests.test_server_workspace_gravity()
5 |- assert(math.floor(Workspace.Gravity) == 196, "Gravity value is: " .. Workspace.Gravity)
6 |-end
7 |-
8 |-return tests
1 |+local tests = {}
2 |+local Workspace = game:GetService("Workspace")
3 |+
4 |+function tests.test_server_workspace_gravity()
5 |+ assert(math.floor(Workspace.Gravity) == 196, "Gravity value is: " .. Workspace.Gravity)
6 |+end
7 |+
8 |+return tests
Diff in ./place_battle/replicated_storage/tests/test_starterplayer.luau:
After reverting to 0.20.0 the results became normal again
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4