chore(cloudcmd) add dangle-comma

This commit is contained in:
coderaiser 2019-02-01 18:26:09 +02:00
parent 4447d43c89
commit ea08b92e8b
69 changed files with 242 additions and 242 deletions

View file

@ -48,7 +48,7 @@ const JSON_FILES = {
uid : 0,
mode: 'rwx r-x r-x',
type: 'file',
}]
}],
};
let Expect =
@ -74,7 +74,7 @@ test('cloudfunc: render', (t) => {
const result = CloudFunc.buildFromJSON({
prefix : '',
data : JSON_FILES,
template
template,
});
Expect += expect;
@ -147,7 +147,7 @@ test('cloudfunc: getTitle: no name', (t) => {
const path = '/hello/world';
const result = CloudFunc.getTitle({
path
path,
});
t.equal(result, 'Cloud Commander - /hello/world');

View file

@ -79,7 +79,7 @@ test('util: findObjByNameInArr: array', (t) => {
name, [
obj,
item,
]
],
];
const result = findObjByNameInArr(array, name);