From e68338a17bd70ecc80632e8d9bf10334a6da6bb4 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 3 Feb 2026 14:16:16 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20cloudcmd:=20actions:=20lint=20?= =?UTF-8?q?=E2=98=98=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/dom/current-file.js | 8 ++++---- common/util.js | 2 +- static/user-menu.spec.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/dom/current-file.js b/client/dom/current-file.js index f52f7a08..339376d2 100644 --- a/client/dom/current-file.js +++ b/client/dom/current-file.js @@ -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({ diff --git a/common/util.js b/common/util.js index 761b6345..422b3c22 100644 --- a/common/util.js +++ b/common/util.js @@ -45,7 +45,7 @@ export const getExt = (name) => { }; /** - * find object by name in arrray + * find object by name in array * * @param array * @param name diff --git a/static/user-menu.spec.js b/static/user-menu.spec.js index dd2e362e..d13a48d6 100644 --- a/static/user-menu.spec.js +++ b/static/user-menu.spec.js @@ -316,7 +316,7 @@ function getDOM() { const CurrentInfo = { dirPath: '/', files: [], - filesPasive: [], + filesPassive: [], panel: create(), panelPassive: create(), };