mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(mellow) commander -> flop
This commit is contained in:
parent
251c57874a
commit
e5c45f1225
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
win = require(DIR_SERVER + 'win'),
|
||||
format = require(DIR_SERVER + 'format'),
|
||||
commander = require(DIR_SERVER + 'commander');
|
||||
flop = require(DIR_SERVER + 'flop');
|
||||
|
||||
exports.read = read;
|
||||
exports.convertPath = convertPath;
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
if (isWin && path === '/')
|
||||
getRoot(callback);
|
||||
else
|
||||
commander.getDirContent(path, callback);
|
||||
flop.read(path, callback);
|
||||
}
|
||||
|
||||
function getRoot(callback) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue