diff --git a/client/client.js b/client/client.js index 1c6d2008..a0e3cb07 100644 --- a/client/client.js +++ b/client/client.js @@ -348,7 +348,12 @@ function CloudCmdProto({DOM, Listeners}) { 'pathLink', ]; - const [error, [file, path, link, pathLink]] = await tryToCatch(Files.get, names); + const [error, [ + file, + path, + link, + pathLink, + ]] = await tryToCatch(Files.get, names); if (error) return DOM.Dialog.alert(error.responseText); diff --git a/client/dom/current-file.spec.js b/client/dom/current-file.spec.js index 99294fde..6bf0509b 100644 --- a/client/dom/current-file.spec.js +++ b/client/dom/current-file.spec.js @@ -19,7 +19,10 @@ test('current-file: setCurrentName: setAttribute', (t) => { currentFile.setCurrentName('hello', current); - t.calledWith(setAttribute, ['data-name', 'js-file-aGVsbG8='], 'should call setAttribute'); + t.calledWith(setAttribute, [ + 'data-name', + 'js-file-aGVsbG8=', + ], 'should call setAttribute'); globalThis.DOM = DOM; globalThis.CloudCmd = CloudCmd; @@ -38,7 +41,10 @@ test('current-file: setCurrentName: setAttribute: cyrillic', (t) => { currentFile.setCurrentName('ай', current); - t.calledWith(setAttribute, ['data-name', 'js-file-JUQwJUIwJUQwJUI5'], 'should call setAttribute'); + t.calledWith(setAttribute, [ + 'data-name', + 'js-file-JUQwJUIwJUQwJUI5', + ], 'should call setAttribute'); globalThis.DOM = DOM; globalThis.CloudCmd = CloudCmd; diff --git a/client/key/vim/index.js b/client/key/vim/index.js index dd9cd026..5f67f4e4 100644 --- a/client/key/vim/index.js +++ b/client/key/vim/index.js @@ -36,7 +36,6 @@ const getOperations = (event, deps) => { preventDefault = event?.preventDefault?.bind(event), stopImmediatePropagation = event?.preventDefault?.bind(event), promptNewFile = DOM.promptNewFile, - toggleSelectedFile, Buffer = {}, createFindNext = _createFindNext,