chore(cloudcmd) lint: remove useless arguments

This commit is contained in:
coderaiser 2020-02-17 17:17:16 +02:00
parent 8a92a94a3e
commit a9ba166bd4
4 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View file

@ -11,6 +11,7 @@ modules/emitify
.nyc_output
*.swp
.putoutcache
dist
dist-dev

View file

@ -40,7 +40,7 @@ module.exports = {
'lint:css': () => 'stylelint css/*.css',
'spell': () => 'yaspeller .',
'fix:lint': () => run(['lint', 'lint:css'], '--fix'),
'lint': () => run('lint:progress'),
'lint': () => run('lint:progress', '--cache'),
'lint:progress': () => run('lint:base', '-f progress'),
'lint:stream': () => run('lint:base', '-f stream'),

View file

@ -339,7 +339,7 @@ function CloudCmdProto(DOM) {
const {noCurrent} = options;
if (!isRefresh && json)
return await createFileTable(json, panel, options, callback);
return await createFileTable(json, panel, options);
const position = DOM.getPanelPosition(panel);
const sort = CloudCmd.sort[position];

View file

@ -168,7 +168,7 @@ function _middle(manage, req, res, next) {
switch(req.method) {
case 'GET':
get(manage, req, res, next);
get(manage, req, res);
break;
case 'PATCH':