diff --git a/src/config/project/prefs/index.js b/src/config/project/prefs/index.js index ff12cb2..6bf3ebd 100644 --- a/src/config/project/prefs/index.js +++ b/src/config/project/prefs/index.js @@ -8,6 +8,7 @@ let { homedir } = require('os') module.exports = function getPrefs ({ scope, inventory, errors, _testing }) { let cwd = scope === 'global' + /* istanbul ignore next */ ? _testing ? join(inventory._project.cwd, homedir()) : homedir() : inventory._project.cwd