remove testing cruft

This commit is contained in:
Kyle Klaus 2020-04-11 00:42:58 -07:00
parent 0f238a5021
commit 907e9e182d

View File

@ -480,12 +480,10 @@ const internalAccessList = {
return new Promise((resolve, reject) => {
let htpasswd_file = internalAccessList.getFilename(list);
let nginx_file = internalAccessList.getFilename(list) + '.conf';
// 1. remove any existing access file
try {
fs.unlinkSync(htpasswd_file);
fs.unlinkSync(nginx_file);
} catch (err) {
// do nothing
}