Skip to content

Commit faa2f9c

Browse files
committed
chore: cloudcmd: actions: lint ☘️
1 parent 08b5c6b commit faa2f9c

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

client/cloudcmd.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,3 @@ async function register(config) {
6767

6868
listenSW(sw, 'updatefound', onUpdateFound(config));
6969
}
70-

client/listeners/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ module.exports.initKeysPanel = () => {
116116

117117
const {target} = event;
118118
const {id} = target;
119+
119120
const operation = (name) => {
120121
const {Operation} = CloudCmd;
121122

client/modules/menu/cloudmenu.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ async function loadMenu() {
2323

2424
return supermenu;
2525
}
26-

client/modules/menu/index.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ module.exports.init = async () => {
4646
});
4747

4848
const {createCloudMenu} = await import('./cloudmenu.mjs');
49+
4950
MenuContext = await createCloudMenu(fm, options, menuData);
5051
MenuContextFile = await createCloudMenu(fm, optionsFile, menuDataFile);
5152

@@ -205,8 +206,15 @@ function isPath(x, y) {
205206
function beforeShow(callback, params) {
206207
Key.unsetBind();
207208

208-
const {name, position = {x: params.x, y: params.y}} = params;
209+
const {
210+
name,
211+
position = {
212+
x: params.x,
213+
y: params.y,
214+
},
215+
} = params;
209216
const {x, y} = position;
217+
210218
const el = DOM.getCurrentByPosition({
211219
x,
212220
y,
@@ -343,4 +351,3 @@ function listener(event) {
343351
event.preventDefault();
344352
}
345353
}
346-

0 commit comments

Comments
 (0)