chore: lint

This commit is contained in:
coderaiser 2023-07-09 12:43:24 +03:00
parent f1279666b5
commit 4717e035ee
173 changed files with 1388 additions and 1627 deletions

View file

@ -8,16 +8,16 @@ const up = (a) => a.toUpperCase();
module.exports = parse;
module.exports.bool = (name) => {
const value = parse(name);
if (value === 'true')
return true;
if (value === '1')
return true;
if (value === 'false')
return false;
if (value === '0')
return false;
};
@ -28,4 +28,3 @@ function parse(name) {
return env[big] || env[small];
}