chore: cloudcmd: actions: lint ☘️

This commit is contained in:
coderaiser 2026-02-03 14:16:16 +00:00
parent c7095e2570
commit e68338a17b
3 changed files with 6 additions and 6 deletions

View file

@ -77,7 +77,7 @@ const parseHrefAttribute = (prefix, attribute) => {
export const _parseHrefAttribute = parseHrefAttribute;
/**
* get current direcotory path
* get current directory path
*/
export const getCurrentDirPath = (panel = DOM.getPanel()) => {
const path = DOM.getByDataName('js-path', panel);
@ -98,7 +98,7 @@ export const getCurrentPath = (currentFile) => {
};
/**
* get current direcotory name
* get current directory name
*/
export const getCurrentDirName = () => {
const href = DOM
@ -111,7 +111,7 @@ export const getCurrentDirName = () => {
};
/**
* get current direcotory path
* get current directory path
*/
export const getParentDirPath = (panel) => {
const path = DOM.getCurrentDirPath(panel);
@ -125,7 +125,7 @@ export const getParentDirPath = (panel) => {
};
/**
* get not current direcotory path
* get not current directory path
*/
export const getNotCurrentDirPath = () => {
const panel = DOM.getPanel({

View file

@ -45,7 +45,7 @@ export const getExt = (name) => {
};
/**
* find object by name in arrray
* find object by name in array
*
* @param array
* @param name

View file

@ -316,7 +316,7 @@ function getDOM() {
const CurrentInfo = {
dirPath: '/',
files: [],
filesPasive: [],
filesPassive: [],
panel: create(),
panelPassive: create(),
};