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
a021090dc9
commit
a3ef3ae60d
6 changed files with 25 additions and 17 deletions
|
|
@ -5,7 +5,6 @@
|
|||
const {eachSeries} = require('execon');
|
||||
const wraptile = require('wraptile/legacy');
|
||||
|
||||
const DOM = require('.');
|
||||
const load = require('./load');
|
||||
const Images = require('./images');
|
||||
const {alert} = require('./dialog');
|
||||
|
|
@ -15,7 +14,7 @@ const {FS} = require('../../common/cloudfunc');
|
|||
const onEnd = wraptile(_onEnd);
|
||||
const loadFile = wraptile(_loadFile);
|
||||
|
||||
const {getCurrentDirPath: getPathWhenRootEmpty} = DOM;
|
||||
const {getCurrentDirPath: getPathWhenRootEmpty} = require('.');
|
||||
|
||||
module.exports = (dir, files) => {
|
||||
if (!files) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue