Fix missing newline in warn global

This commit is contained in:
Filip Tibell 2023-09-18 18:52:41 -05:00
parent 2963751f6c
commit a86a62ae1f
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -61,6 +61,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### Fixed
- Fixed missing trailing newline when using the `warn` global
- Fixed constructor for `CFrame` in the `roblox` built-in library not parsing the 12-arg overload correctly. ([#102]) - Fixed constructor for `CFrame` in the `roblox` built-in library not parsing the 12-arg overload correctly. ([#102])
- Fixed various functions for `CFrame` in the `roblox` built-in library being incorrect, specifically row-column ordering and some flipped signs. ([#103]) - Fixed various functions for `CFrame` in the `roblox` built-in library being incorrect, specifically row-column ordering and some flipped signs. ([#103])

View file

@ -9,7 +9,7 @@ use crate::lune::{
pub fn create(lua: &'static Lua) -> LuaResult<impl IntoLua<'_>> { pub fn create(lua: &'static Lua) -> LuaResult<impl IntoLua<'_>> {
lua.create_async_function(|_, args: LuaMultiValue| async move { lua.create_async_function(|_, args: LuaMultiValue| async move {
let formatted = format!( let formatted = format!(
"{}\n{}", "{}\n{}\n",
format_label("warn"), format_label("warn"),
pretty_format_multi_value(&args)? pretty_format_multi_value(&args)?
); );