chore: cloudcmd: actions: lint ☘️

This commit is contained in:
coderaiser 2023-08-07 15:09:19 +00:00
parent ba7133f2e6
commit 339560fab2
9 changed files with 18 additions and 10 deletions

View file

@ -39,7 +39,7 @@ module.exports.convert = (config) => {
function setState(state) {
if (state)
return ' checked';
return '';
}

View file

@ -129,7 +129,7 @@ function _refresh(to, nameIndex, res) {
function getDir(root, dir) {
if (root === '/')
return dir;
return root + dir;
}

View file

@ -3,6 +3,6 @@
module.exports = (operation, from, to) => {
if (!to)
return `${operation} ${from}`;
return `${operation} ${from} -> ${to}`;
};

View file

@ -194,7 +194,7 @@ function setOperations(operator) {
function getPacker(type) {
if (type === 'zip')
return packZipFn;
return packTarFn;
}