mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
chore(root) rm iife
This commit is contained in:
parent
7c4a6caa9a
commit
6b26b26115
1 changed files with 10 additions and 14 deletions
|
|
@ -1,15 +1,11 @@
|
|||
(function() {
|
||||
'use strict';
|
||||
'use strict';
|
||||
|
||||
var config = require('./config');
|
||||
var mellow = require('mellow');
|
||||
|
||||
module.exports = function(dir) {
|
||||
var root = config('root') || '/';
|
||||
|
||||
var DIR = './',
|
||||
config = require(DIR + 'config'),
|
||||
mellow = require('mellow');
|
||||
|
||||
module.exports = function(dir) {
|
||||
var root = config('root') || '/';
|
||||
|
||||
dir = mellow.pathToWin(dir, root);
|
||||
|
||||
return dir;
|
||||
};
|
||||
})();
|
||||
return mellow.pathToWin(dir, root);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue