mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
chore(cloudcmd) lint
This commit is contained in:
parent
81e76857da
commit
ef10ebe97c
40 changed files with 137 additions and 134 deletions
|
|
@ -20,9 +20,11 @@ const root = require(DIR_SERVER + 'root');
|
|||
const prefixer = require(DIR_SERVER + 'prefixer');
|
||||
const CloudFunc = require(DIR_COMMON + 'cloudfunc');
|
||||
|
||||
const getPrefix = (config) => prefixer(config('prefix'));
|
||||
const Columns = require(`${DIR_SERVER}/columns`);
|
||||
|
||||
const onceRequire = once(require);
|
||||
const Template = require(`${DIR_SERVER}/template`);
|
||||
|
||||
const {FS} = CloudFunc;
|
||||
|
||||
const sendIndex = (params, data) => {
|
||||
const ponseParams = {
|
||||
|
|
@ -33,10 +35,8 @@ const sendIndex = (params, data) => {
|
|||
ponse.send(data, ponseParams);
|
||||
};
|
||||
|
||||
const {FS} = CloudFunc;
|
||||
|
||||
const Columns = require(`${DIR_SERVER}/columns`);
|
||||
const Template = require(`${DIR_SERVER}/template`);
|
||||
const onceRequire = once(require);
|
||||
const getPrefix = (config) => prefixer(config('prefix'));
|
||||
|
||||
const getReadDir = (config) => {
|
||||
if (!config('dropbox'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue