You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfunction (defaultExport)
ifdefaultExport==nilthenprint(
"lazy: Expected the result of a dynamic import() call. " .."Instead received: %s\n\nYour code should look like: \n" ..-- Break up imports to avoid accidentally parsing them as dependencies.-- ROBLOX deviation: Lua syntax in message"local MyComponent = lazy(function() => req" .."quire('script.Parent.MyComponent') end)",
moduleObject
)
endend```mistransformsinto:
```luareturnfunction(defaultExport)
ifdefaultExport==nilthenprint(
"lazy: Expected the result of a dynamic import() call. ".."Instead received: %s\n\nYour code should look like: \n"..-- Break up imports to avoid accidentally parsing them as dependencies.-- ROBLOX deviation: Lua syntax in message"local MyComponent = lazy(function() => req".."quire('script.Parent.MyComponent') end)",
moduleObject
)
endend
The text was updated successfully, but these errors were encountered:
returnfunction(defaultExport)
ifdefaultExport==nilthenprint(
"lazy: Expected the result of a dynamic import() call. ".."Instead received: %s\n\nYour code should look like: \n"-- Break up imports to avoid accidentally parsing them as dependencies.-- ROBLOX deviation: Lua syntax in message.."local MyComponent = lazy(function() => req".."quire('script.Parent.MyComponent') end)",
moduleObject
)
endend
... gets formatted as ...
returnfunction(defaultExport)
ifdefaultExport==nilthenprint(
"lazy: Expected the result of a dynamic import() call. ".."Instead received: %s\n\nYour code should look like: \n".."local MyComponent = lazy(function() => req".."quire('script.Parent.MyComponent') end)",
moduleObject
)
endend
with stylua 0.8.0:
The text was updated successfully, but these errors were encountered: