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

@ -248,14 +248,12 @@ module.exports.buildFromJSON = (params) => {
return fileTable;
};
function updateField(file) {
return {
...file,
date: file.date || '--.--.----',
owner: file.owner || 'root',
size: getSize(file),
};
}
const updateField = (file) => ({
...file,
date: file.date || '--.--.----',
owner: file.owner || 'root',
size: getSize(file),
});
function getAttribute(type) {
if (type === 'directory')