From a4b2e18052b5427387e028051c9d38fb5d88c06e Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 19 Dec 2016 18:06:50 +0200 Subject: [PATCH] chore(root) es2015-ify --- lib/server/root.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); };