chore: lint

This commit is contained in:
coderiaser 2025-01-20 18:22:07 +02:00
parent 907afc6e4a
commit ddd1722f39
7 changed files with 24 additions and 31 deletions

View file

@ -17,11 +17,11 @@ process.on('unhandledRejection', exit);
const require = createRequire(import.meta.url);
const Info = require('../package.json');
const isUndefined = (a) => typeof a === 'undefined';
const simport = createSimport(import.meta.url);
const choose = (a, b) => {
if (a === undefined)
if (isUndefined(a))
return b;
return a;