mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
refactor(mellow) getRoot: put win on top
This commit is contained in:
parent
a23004fa8b
commit
7b29c5a9d8
1 changed files with 2 additions and 2 deletions
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
isWin = process.platform === 'win32',
|
||||
Util = require(DIR + 'util'),
|
||||
|
||||
win = require(DIR_SERVER + 'win'),
|
||||
commander = require(DIR_SERVER + 'commander');
|
||||
|
||||
exports.read = read;
|
||||
|
|
@ -19,8 +21,6 @@
|
|||
}
|
||||
|
||||
function getRoot(callback) {
|
||||
var win = require(DIR_SERVER + 'win');
|
||||
|
||||
win.getVolumes(function(error, volumes) {
|
||||
var data = {
|
||||
path : '/',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue