Skip to content

Commit 38797e1

Browse files
committed
fix LuaJIT name in warnings
emmylua_check usually misspells LuaJIT name in warnings. The patch fixes that. Closes #1170
1 parent 9c2d818 commit 38797e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/emmylua_parser/src/kind/lua_version.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl Ord for LuaVersionNumber {
6060
impl fmt::Display for LuaVersionNumber {
6161
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
6262
match *self {
63-
LuaVersionNumber::LUA_JIT => write!(f, "Lua JIT"),
63+
LuaVersionNumber::LUA_JIT => write!(f, "LuaJIT"),
6464
LuaVersionNumber { major, minor, .. } => write!(f, "Lua {}.{}", major, minor),
6565
}
6666
}

0 commit comments

Comments
 (0)