mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
chore: cloudcmd: actions: lint ☘️
This commit is contained in:
parent
7aacf203a0
commit
6b9d43e9ab
16 changed files with 28 additions and 9 deletions
|
|
@ -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',
|
||||
});
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ async function initOperations(prefix, socketPrefix, fn) {
|
|||
prefix,
|
||||
socketPrefix,
|
||||
});
|
||||
|
||||
operator.on('connect', authCheck(operator, onConnect(fn)));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ test('user-menu: parse-error: stack', (t) => {
|
|||
const result = parseError({
|
||||
stack,
|
||||
});
|
||||
|
||||
const expected = [1, 2];
|
||||
|
||||
t.deepEqual(result, expected);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue