Skip to content

Commit e89f5c4

Browse files
committed
修改返回到lua的值错误
1 parent 8711fab commit e89f5c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeFormatLib/src/CodeFormatLib.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ int type_format(lua_State* L)
220220
}
221221
else
222222
{
223-
lua_pushboolean(L, false);
223+
lua_pushboolean(L, true);
224224
auto result = typeFormat.GetResult();
225225

226226
// 结果

0 commit comments

Comments
 (0)