From d12cd5b7cd516535c6781e3c548db5376e9e0537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Nison?= Date: Thu, 6 Apr 2017 12:00:00 +0100 Subject: [PATCH] Fixes linting --- src/rc.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rc.js b/src/rc.js index b4524ce67a..2c4a475fad 100644 --- a/src/rc.js +++ b/src/rc.js @@ -1,9 +1,9 @@ /* @flow */ -import rc from 'rc'; - import parse from './lockfile/parse.js'; +const rc = require('rc'); + // Keys that will get resolved relative to the path of the rc file they belong to const PATH_KEYS = [ 'cache-folder', @@ -50,7 +50,7 @@ const buildRcArgs = () => Object.keys(getRcConf()).reduce((argLists, key) => { return argLists; } - const namespace = miniparse[1] || `*`; + const namespace = miniparse[1] || '*'; const arg = miniparse[2]; const value = getRcConf()[key];