Comparison

util/debug.lua @ 7182:858ccafbd823

util.debug: Silence luacheck warning about modifying 'debug' lib
author Kim Alvefur <zash@zash.se>
date Mon, 22 Feb 2016 17:34:42 +0100
parent 6777:5de6b93d0190
child 8322:cd15fc505b62
comparison
equal deleted inserted replaced
7181:8af558965da3 7182:858ccafbd823
1 -- Variables ending with these names will not 1 -- Variables ending with these names will not
2 -- have their values printed ('password' includes 2 -- have their values printed ('password' includes
3 -- 'new_password', etc.) 3 -- 'new_password', etc.)
4 --
5 -- luacheck: ignore 122/debug
6
4 local censored_names = { 7 local censored_names = {
5 password = true; 8 password = true;
6 passwd = true; 9 passwd = true;
7 pass = true; 10 pass = true;
8 pwd = true; 11 pwd = true;