forked from rojo-rbx/rojo
Stylua formatting (#785)
Uses Stylua to format all existing Lua files, and adds a CI check in `lint` to pin this improvement. Excludes formatting dependencies, of course.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
local Packages = script.Parent.Parent.Packages
|
||||
local Fmt = require(Packages.Fmt)
|
||||
|
||||
@@ -17,10 +16,10 @@ else
|
||||
message = Fmt.fmt(message, ...)
|
||||
|
||||
local fullMessage = string.format(
|
||||
"Rojo detected an invariant violation within itself:\n" ..
|
||||
"%s\n\n" ..
|
||||
"This is a bug in Rojo. Please file an issue:\n" ..
|
||||
"https://github.com/rojo-rbx/rojo/issues",
|
||||
"Rojo detected an invariant violation within itself:\n"
|
||||
.. "%s\n\n"
|
||||
.. "This is a bug in Rojo. Please file an issue:\n"
|
||||
.. "https://github.com/rojo-rbx/rojo/issues",
|
||||
message
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user