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
916b971e77
commit
943924adef
3 changed files with 6 additions and 11 deletions
|
|
@ -4,12 +4,11 @@ const {join} = require('path');
|
|||
const test = require('supertape');
|
||||
const stub = require('@cloudcmd/stub');
|
||||
|
||||
const dir = join(__dirname, '..', '..');
|
||||
const modulesPath = join(dir, 'json', 'modules.json');
|
||||
const cloudcmdPath = dir;
|
||||
const cloudcmdPath = join(__dirname, '..', '..');
|
||||
const modulesPath = join(cloudcmdPath, 'json', 'modules.json');
|
||||
|
||||
const localModules = require(modulesPath);
|
||||
const modulas = require(`${dir}/server/modulas`);
|
||||
const modulas = require(`${cloudcmdPath}/server/modulas`);
|
||||
|
||||
const cloudcmd = require(cloudcmdPath);
|
||||
const {request} = require('serve-once')(cloudcmd, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue