chore: cloudcmd: actions: lint ☘️

This commit is contained in:
coderaiser 2023-07-09 09:51:29 +00:00
parent 7aacf203a0
commit 6b9d43e9ab
16 changed files with 28 additions and 9 deletions

View file

@ -37,9 +37,11 @@ module.exports.init = () => {
const fm = DOM.getFM();
const menuData = getMenuData(isAuth);
const options = getOptions({
type: 'context',
});
const optionsFile = getOptions({
type: 'file',
});

View file

@ -96,6 +96,7 @@ async function initOperations(prefix, socketPrefix, fn) {
prefix,
socketPrefix,
});
operator.on('connect', authCheck(operator, onConnect(fn)));
}

View file

@ -27,6 +27,7 @@ test('user-menu: parse-error: stack', (t) => {
const result = parseError({
stack,
});
const expected = [1, 2];
t.deepEqual(result, expected);