diff --git a/lib/server/root.js b/lib/server/root.js index 46505f8e..5c3ea26b 100644 --- a/lib/server/root.js +++ b/lib/server/root.js @@ -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); };