chore(root) es2015-ify

This commit is contained in:
coderaiser 2016-12-19 18:06:50 +02:00
parent b72f5d06b6
commit a4b2e18052

View file

@ -1,10 +1,10 @@
'use strict';
var config = require('./config');
var mellow = require('mellow');
const config = require('./config');
const mellow = require('mellow');
module.exports = function(dir) {
var root = config('root') || '/';
module.exports = (dir) => {
const root = config('root') || '/';
return mellow.pathToWin(dir, root);
};