chore(cloudcmd) lint using actions

This commit is contained in:
coderaiser 2022-01-20 18:44:25 +00:00
parent 177771df6a
commit 2cfc4908a2
5 changed files with 5 additions and 0 deletions

View file

@ -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);

View file

@ -58,6 +58,7 @@ test('cloudcmd: client: key: disable vim', async (t) => {
const {CloudCmd} = global;
const {config} = CloudCmd;
CloudCmd.config = _config;
setBind();

View file

@ -78,6 +78,7 @@ module.exports.show = async (options) => {
const {path} = Info;
const name = getName();
setMsgChanged(name);
CloudCmd.Edit