From adb15f3073139981fa38ed61587513a92065cf03 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Thu, 4 May 2017 11:53:39 +1000 Subject: src/ldblib.js: Add missing braces --- src/ldblib.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ldblib.js b/src/ldblib.js index 8ed95d7..4563eb0 100644 --- a/src/ldblib.js +++ b/src/ldblib.js @@ -145,10 +145,11 @@ const db_getinfo = function(L) { } if (options.indexOf('l'.charCodeAt(0)) > -1) settabsi(L, lua.to_luastring("currentline", true), ar.currentline); - if (options.indexOf('u'.charCodeAt(0)) > -1) + if (options.indexOf('u'.charCodeAt(0)) > -1) { settabsi(L, lua.to_luastring("nups", true), ar.nups); settabsi(L, lua.to_luastring("nparams", true), ar.nparams); settabsb(L, lua.to_luastring("isvararg", true), ar.isvararg); + } if (options.indexOf('n'.charCodeAt(0)) > - 1) { settabss(L, lua.to_luastring("name", true), ar.name ? ar.name : null); settabss(L, lua.to_luastring("namewhat", true), ar.namewhat ? ar.namewhat : null); -- cgit v1.2.3-70-g09d2