mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(cloudcmd) lint: remove useless arguments
This commit is contained in:
parent
8a92a94a3e
commit
a9ba166bd4
4 changed files with 4 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -11,6 +11,7 @@ modules/emitify
|
|||
.nyc_output
|
||||
|
||||
*.swp
|
||||
.putoutcache
|
||||
|
||||
dist
|
||||
dist-dev
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue