chore: cloudcmd: actions: lint ☘️

This commit is contained in:
coderaiser 2025-09-01 21:44:29 +00:00
parent 08b5c6b2b5
commit faa2f9c765
4 changed files with 10 additions and 4 deletions

View file

@ -67,4 +67,3 @@ async function register(config) {
listenSW(sw, 'updatefound', onUpdateFound(config));
}

View file

@ -116,6 +116,7 @@ module.exports.initKeysPanel = () => {
const {target} = event;
const {id} = target;
const operation = (name) => {
const {Operation} = CloudCmd;

View file

@ -23,4 +23,3 @@ async function loadMenu() {
return supermenu;
}

View file

@ -46,6 +46,7 @@ module.exports.init = async () => {
});
const {createCloudMenu} = await import('./cloudmenu.mjs');
MenuContext = await createCloudMenu(fm, options, menuData);
MenuContextFile = await createCloudMenu(fm, optionsFile, menuDataFile);
@ -205,8 +206,15 @@ function isPath(x, y) {
function beforeShow(callback, params) {
Key.unsetBind();
const {name, position = {x: params.x, y: params.y}} = params;
const {
name,
position = {
x: params.x,
y: params.y,
},
} = params;
const {x, y} = position;
const el = DOM.getCurrentByPosition({
x,
y,
@ -343,4 +351,3 @@ function listener(event) {
event.preventDefault();
}
}