mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 18:23:35 +00:00
chore(cloudcmd) lint
This commit is contained in:
parent
81e76857da
commit
ef10ebe97c
40 changed files with 137 additions and 134 deletions
|
|
@ -12,12 +12,6 @@ const DIR = './';
|
|||
const cloudcmdPath = DIR + 'cloudcmd';
|
||||
|
||||
const cloudcmd = require(cloudcmdPath);
|
||||
const {
|
||||
createConfigManager,
|
||||
_getPrefix,
|
||||
_initAuth,
|
||||
} = cloudcmd;
|
||||
|
||||
const {request} = require('serve-once')(cloudcmd, {
|
||||
config: {
|
||||
auth: false,
|
||||
|
|
@ -25,6 +19,12 @@ const {request} = require('serve-once')(cloudcmd, {
|
|||
},
|
||||
});
|
||||
|
||||
const {
|
||||
createConfigManager,
|
||||
_getPrefix,
|
||||
_initAuth,
|
||||
} = cloudcmd;
|
||||
|
||||
test('cloudcmd: defaults: config', (t) => {
|
||||
const configManager = createConfigManager();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue