mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(cloudcmd) lint
This commit is contained in:
parent
f662ec0e67
commit
d4ff1f97a9
5 changed files with 63 additions and 48 deletions
|
|
@ -7,8 +7,6 @@ const DIR_SERVER = '../server/';
|
|||
|
||||
const {promisify} = require('util');
|
||||
|
||||
const wraptile = require('wraptile');
|
||||
|
||||
const exit = require(DIR_SERVER + 'exit');
|
||||
const {
|
||||
createConfig,
|
||||
|
|
@ -222,7 +220,7 @@ function main() {
|
|||
const caller = (fn) => fn();
|
||||
|
||||
importConfig(config)
|
||||
.then(args.save ? caller(config.write) : noop)
|
||||
.then(args.save ? caller(config.write) : noop);
|
||||
|
||||
start(options, config);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue