Skip to content

Commit

Permalink
Account for testing-only logic branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanblock committed Dec 5, 2023
1 parent 6d249b6 commit 483152b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/project/prefs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ let { parse } = require('./dotenv')
let { homedir } = require('os')

module.exports = function getPrefs ({ scope, inventory, errors, _testing }) {
/* istanbul ignore next */
let cwd = scope === 'global'
? _testing ? join(inventory._project.cwd, homedir()) : homedir()
: inventory._project.cwd
Expand Down

0 comments on commit 483152b

Please sign in to comment.