mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(cloudcmd) lint using actions
This commit is contained in:
parent
177771df6a
commit
2cfc4908a2
5 changed files with 5 additions and 0 deletions
|
|
@ -220,6 +220,7 @@ module.exports.setCurrentFile = (currentFile, options) => {
|
|||
|
||||
/* scrolling to current file */
|
||||
const CENTER = true;
|
||||
|
||||
DOM.scrollIntoViewIfNeeded(currentFile, CENTER);
|
||||
|
||||
CloudCmd.emit('current-file', currentFile);
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ test('cloudcmd: client: key: disable vim', async (t) => {
|
|||
|
||||
const {CloudCmd} = global;
|
||||
const {config} = CloudCmd;
|
||||
|
||||
CloudCmd.config = _config;
|
||||
|
||||
setBind();
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ module.exports.show = async (options) => {
|
|||
|
||||
const {path} = Info;
|
||||
const name = getName();
|
||||
|
||||
setMsgChanged(name);
|
||||
|
||||
CloudCmd.Edit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue